Пример #1
0
        public override void OnInspectorGUI()
        {
            UnitHero hero = (UnitHero)target;

            //EditorGUILayout.Space();

            //DrawLayer("Layer:", ref hero.customMask);
            DrawToggle("Controllable:", ref hero.controlable);
            base.OnInspectorGUI();
        }
Пример #2
0
 public static void Show(UnitHero hero)
 {
     instance._Show(hero);
 }