protected override void Awake() { base.Awake(); instance = this; this.BlockEditorUnitsInBlockShop = new Dictionary <Type, List <BlockEditorUnit> >(); #if UNITY_EDITOR _GUIStyle = new GUIStyle(); _GUIStyle.fontSize = 65; _GUIStyle.fontStyle = FontStyle.Bold; _GUIStyle.normal.textColor = Color.red; _GUIStyle.active.textColor = Color.red; #endif }
private void Awake() { _RobotSourceCodeEditorWindow = target as RobotSourceCodeEditorWindow; }