ghorsington hace 5 años
padre
commit
683d1aa924

+ 5 - 5
Assembly-CSharp.sln

@@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
 # Visual Studio 15
 VisualStudioVersion = 15.0.26228.4
 MinimumVisualStudioVersion = 10.0.40219.1
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp\Assembly-CSharp.csproj", "{8CB978AD-1DF6-4BE6-B95B-1DF265451E0E}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assembly-CSharp", "Assembly-CSharp\Assembly-CSharp.csproj", "{7A4C81EC-2E4E-4A44-84CE-42BB8FE21F4A}"
 EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -11,10 +11,10 @@ Global
 		Release|Any CPU = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{8CB978AD-1DF6-4BE6-B95B-1DF265451E0E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{8CB978AD-1DF6-4BE6-B95B-1DF265451E0E}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{8CB978AD-1DF6-4BE6-B95B-1DF265451E0E}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{8CB978AD-1DF6-4BE6-B95B-1DF265451E0E}.Release|Any CPU.Build.0 = Release|Any CPU
+		{7A4C81EC-2E4E-4A44-84CE-42BB8FE21F4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{7A4C81EC-2E4E-4A44-84CE-42BB8FE21F4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{7A4C81EC-2E4E-4A44-84CE-42BB8FE21F4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{7A4C81EC-2E4E-4A44-84CE-42BB8FE21F4A}.Release|Any CPU.Build.0 = Release|Any CPU
 	EndGlobalSection
 	GlobalSection(SolutionProperties) = preSolution
 		HideSolutionNode = FALSE

+ 2 - 1
Assembly-CSharp/Assembly-CSharp.csproj

@@ -4,7 +4,7 @@
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
-    <ProjectGuid>{8CB978AD-1DF6-4BE6-B95B-1DF265451E0E}</ProjectGuid>
+    <ProjectGuid>{7A4C81EC-2E4E-4A44-84CE-42BB8FE21F4A}</ProjectGuid>
     <OutputType>Library</OutputType>
     <RootNamespace>Assembly-CSharp</RootNamespace>
     <AssemblyName>Assembly-CSharp</AssemblyName>
@@ -936,6 +936,7 @@
     <Compile Include="PresetCtrl.cs" />
     <Compile Include="PresetMgr.cs" />
     <Compile Include="PresetServer.cs" />
+    <Compile Include="PrivateModeEventObject.cs" />
     <Compile Include="Product.cs" />
     <Compile Include="ProductParse.cs" />
     <Compile Include="Product_Mgr.cs" />

+ 5 - 0
Assembly-CSharp/FullBodyIKCtrl.cs

@@ -416,6 +416,11 @@ public class FullBodyIKCtrl : MonoBehaviour
 		return result;
 	}
 
+	public IKCtrlData GetIKData(string tag_name, bool flagcheck = false)
+	{
+		return this.GetIKData(tag_name);
+	}
+
 	public IKCtrlData GetIKData(string tag_name)
 	{
 		if (this.m_StrIKDataPair.ContainsKey(tag_name))

+ 27 - 0
Assembly-CSharp/PrivateModeEventObject.cs

@@ -0,0 +1,27 @@
+using System;
+using UnityEngine;
+
+public class PrivateModeEventObject : MonoBehaviour
+{
+	private void Update()
+	{
+		if (!NInput.GetMouseButtonDown(0))
+		{
+			return;
+		}
+		if (UICamera.Raycast(Input.mousePosition))
+		{
+			return;
+		}
+		Ray ray = GameMain.Instance.MainCamera.camera.ScreenPointToRay(Input.mousePosition);
+		RaycastHit raycastHit = default(RaycastHit);
+		if (!Physics.Raycast(ray, out raycastHit, float.PositiveInfinity, LayerMask.GetMask(new string[]
+		{
+			LayerMask.LayerToName(base.gameObject.layer)
+		})) || raycastHit.transform != base.transform)
+		{
+			return;
+		}
+		Debug.Log("■■■■■■■■■■■■■■■■■■■■■■■Hit");
+	}
+}