Files
Cielonos/Assets/OtherPlugins/HUD-Navigation-System/Scripts/Components/Editor/HNSPlayerControllerEditor.cs

42 lines
907 B
C#
Raw Normal View History

2026-04-18 13:57:19 -04:00
using UnityEngine;
2025-11-25 08:19:33 -05:00
#if UNITY_EDITOR
using UnityEditor;
#endif
using SickscoreGames.HUDNavigationSystem;
[CustomEditor(typeof(HNSPlayerController))]
public class HNSPlayerControllerEditor : HUDNavigationBaseEditor
{
#region Variables
protected HNSPlayerController hudTarget;
#endregion
#region Main Methods
void OnEnable ()
{
editorTitle = "HNS Player Controller";
splashTexture = (Texture2D)Resources.Load ("Textures/splashTexture_PlayerController", typeof(Texture2D));
showHelpboxButton = showExpandButton = false;
hudTarget = (HNSPlayerController)target;
}
protected override void OnBaseInspectorGUI ()
{
EditorGUILayout.HelpBox ("This GameObject will be automatically assigned as the Player Controller.", MessageType.Info);
}
protected override void OnExpandSettings (bool value)
{
base.OnExpandSettings (value);
}
#endregion
#region Utility Methods
#endregion
}