public override void draw_debug_mode(Chibi_behaviour target) { Motor motor = ( Motor )target; current_speed = serializedObject.FindProperty("current_speed"); EditorGUILayout.PropertyField(current_speed); }
public override void OnInspectorGUI() { serializedObject.Update(); DrawPropertiesExcluding(serializedObject, ignore_properties()); Chibi_behaviour behaviour = ( Chibi_behaviour )target; if (behaviour.debug_mode) { draw_debug_mode(behaviour); } serializedObject.ApplyModifiedProperties(); }
public Debug(chibi_base.Chibi_behaviour instance) { _instance = instance; draw = new draw.Draw(_instance); }
public Draw(Chibi_behaviour instance) { _instance = instance; }
public virtual void draw_debug_mode(Chibi_behaviour behaviour) { }