public override void OnInspectorGUI() { Actuator actuatorScript = (Actuator)target; actuatorScript.ID = EditorGUILayout.IntField("ID", actuatorScript.ID); EditorGUILayout.LabelField("State", actuatorScript.getState().ToString()); }
public override void OnInspectorGUI() { Actuator actuatorScript = (Actuator)target; actuatorScript.ID = EditorGUILayout.IntField("ID", actuatorScript.ID); EditorGUILayout.LabelField("State", actuatorScript.getState().ToString()); }