狗屎Minimax坏我代码
This commit is contained in:
@@ -1,9 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
@@ -13,6 +13,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HNSPlayerCameraEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HNSPlayerCameraEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
@@ -13,6 +13,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HNSPlayerControllerEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HNSPlayerControllerEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,11 +1,6 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
using UnityEditorInternal;
|
||||
#endif
|
||||
using SickscoreGames.HUDNavigationSystem;
|
||||
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationBaseEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationBaseEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationCanvasEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationCanvasEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
@@ -21,7 +16,7 @@ public class HUDNavigationElementBaseEditor : HUDNavigationBaseEditor
|
||||
#region Main Methods
|
||||
protected virtual void OnEnable ()
|
||||
{
|
||||
hudNavigationSystem = FindObjectOfType<HUDNavigationSystem> ();
|
||||
hudNavigationSystem = HUDNavigationExtensions.FindFirst<HUDNavigationSystem> ();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationElementBaseEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationElementBaseEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationElementEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationElementEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine.Serialization;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationElementSettingsEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationElementSettingsEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationSceneManagerEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationSceneManagerEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
@@ -1,8 +1,4 @@
|
||||
using System.Linq;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
@@ -80,6 +76,7 @@ public class HUDNavigationSystemEditor : HUDNavigationBaseEditor
|
||||
SerializedProperty _pUseMinimap = serializedObject.FindProperty ("useMinimap");
|
||||
SerializedProperty _pMinimapProfile = serializedObject.FindProperty ("minimapProfile");
|
||||
SerializedProperty _pMinimapMode = serializedObject.FindProperty ("minimapMode");
|
||||
SerializedProperty _pMinimapShape = serializedObject.FindProperty ("minimapShape");
|
||||
SerializedProperty _pMinimapScale = serializedObject.FindProperty ("minimapScale");
|
||||
SerializedProperty _pMinimapRadius = serializedObject.FindProperty ("minimapRadius");
|
||||
SerializedProperty _pUseMinimapScaling = serializedObject.FindProperty("useMinimapScaling");
|
||||
@@ -298,6 +295,7 @@ public class HUDNavigationSystemEditor : HUDNavigationBaseEditor
|
||||
EditorGUILayout.PropertyField (_pMinimapProfile, new GUIContent ("Minimap Profile"));
|
||||
if (hudTarget.minimapProfile != null) {
|
||||
EditorGUILayout.PropertyField (_pMinimapMode);
|
||||
EditorGUILayout.PropertyField (_pMinimapShape);
|
||||
EditorGUILayout.Slider (_pMinimapScale, .01f, 1f, "Minimap Scale");
|
||||
EditorGUILayout.Slider (_pMinimapRadius, 1f, 500f, "Minimap Radius");
|
||||
EditorGUILayout.PropertyField (_pShowMinimapBounds, new GUIContent ("Show Minimap Bounds"));
|
||||
|
||||
@@ -14,6 +14,6 @@ AssetOrigin:
|
||||
serializedVersion: 1
|
||||
productId: 103056
|
||||
packageName: HUD Navigation System
|
||||
packageVersion: 2.2.0
|
||||
assetPath: Assets/Sickscore Games/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationSystemEditor.cs
|
||||
uploadId: 382610
|
||||
packageVersion: 3.0.0
|
||||
assetPath: Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HUDNavigationSystemEditor.cs
|
||||
uploadId: 884440
|
||||
|
||||
Reference in New Issue
Block a user