Ejemplo n.º 1
0
        public override void OnInspectorGUI()
        {
            instance = target as TextSetter;

            Current = this;

            Setup();

            var textData = TextData.Instance;

            UpdateCurrentInfo(textData);

            DrawSourceSelectGUI(textData);

            DrawEmbeddedTextSelectGUI(textData);

            DrawDistributionTextSelectGUI(textData);

            DrawDevelopmentTextSelectGUI();
        }
Ejemplo n.º 2
0
 void OnDisable()
 {
     Undo.undoRedoPerformed -= OnUndoRedo;
     Current = null;
 }