add ckg
plantilla base para movimiento básico
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
|
||||
[CustomEditor (typeof(playerActionSystem))]
|
||||
public class playerActionSystemEditor : Editor
|
||||
{
|
||||
playerActionSystem manager;
|
||||
|
||||
SerializedProperty currentArrayElement;
|
||||
|
||||
void OnEnable ()
|
||||
{
|
||||
manager = (playerActionSystem)target;
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI ()
|
||||
{
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
DrawDefaultInspector ();
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
GUILayout.Label ("EDITOR BUTTONS", EditorStyles.boldLabel);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
// if (GUILayout.Button ("Check Actions")) {
|
||||
// manager.checkActions ();
|
||||
// }
|
||||
|
||||
if (GUILayout.Button ("\n UPDATE ACTION LIST \n\n (PRESS ON ANY NEW SETTING) \n")) {
|
||||
manager.updateActionList (false);
|
||||
}
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user