Пример #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();
        }
Пример #2
0
 void OnDisable()
 {
     Undo.undoRedoPerformed -= OnUndoRedo;
     Current = null;
 }