add ckg
plantilla base para movimiento básico
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using UnityEngine;
|
||||
using UnityEditor;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[CustomEditor (typeof(simpleSliceSystem))]
|
||||
public class simpleSliceSystemEditor : Editor
|
||||
{
|
||||
simpleSliceSystem manager;
|
||||
|
||||
void OnEnable ()
|
||||
{
|
||||
manager = (simpleSliceSystem)target;
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI ()
|
||||
{
|
||||
DrawDefaultInspector ();
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
GUILayout.Label ("EDITOR BUTTONS", EditorStyles.boldLabel);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
if (GUILayout.Button ("Search Body Parts")) {
|
||||
manager.searchBodyParts ();
|
||||
}
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
if (GUILayout.Button ("Create Ragdoll Prefab")) {
|
||||
manager.createRagdollPrefab ();
|
||||
}
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user