public override void OnInspectorGUI() { UnitHero hero = (UnitHero)target; //EditorGUILayout.Space(); //DrawLayer("Layer:", ref hero.customMask); DrawToggle("Controllable:", ref hero.controlable); base.OnInspectorGUI(); }
public static void Show(UnitHero hero) { instance._Show(hero); }