Example #1
0
 // ---------------------
 void OnEnable()
 {
     this.spriteNeutral           = new SpriteConfigInspector(new GUIContent("Neutral State", "Neutral Sprite and Color"));
     this.spritePressed           = new SpriteConfigInspector(new GUIContent("Pressed State", "Pressed Sprite and Color"));
     this.spriteToggled           = new SpriteConfigInspector(new GUIContent("Toggled State", "Toggled Sprite and Color"));
     this.spriteToggledAndPressed = new SpriteConfigInspector(new GUIContent("Toggled And Pressed State", "Toggled And Pressed Sprite and Color"));
 }
Example #2
0
        // ---------------------
        void OnEnable()
        {
            this.spriteNeutral        = new SpriteConfigInspector(new GUIContent("Neutral Released State", "Neutral Released Sprite and Color"));
            this.spriteNeutralPressed = new SpriteConfigInspector(new GUIContent("Neutral Pressed State", "Neutral Pressed Sprite and Color"));
            this.spriteUp             = new SpriteConfigInspector(new GUIContent("Up State", "Up Sprite and Color"));
            this.spriteUpRight        = new SpriteConfigInspector(new GUIContent("Up-Right State", "Up-Right Sprite and Color"));
            this.spriteRight          = new SpriteConfigInspector(new GUIContent("Right State", "Right Sprite and Color"));
            this.spriteDownRight      = new SpriteConfigInspector(new GUIContent("Down-Right State", "Down-Right Sprite and Color"));
            this.spriteDown           = new SpriteConfigInspector(new GUIContent("Down State", "Down Sprite and Color"));
            this.spriteDownLeft       = new SpriteConfigInspector(new GUIContent("Down-Left State", "Down-Left Sprite and Color"));
            this.spriteLeft           = new SpriteConfigInspector(new GUIContent("Left State", "Left Sprite and Color"));
            this.spriteUpLeft         = new SpriteConfigInspector(new GUIContent("Up-Left State", "Up-Left Sprite and Color"));

            ;
        }