Exemplo n.º 1
0
 void OnEnable()
 {
     _headerTexture    = EditorLayout.LoadTexture("l:EntitasHeader");
     _migrations       = getMigrations();
     _showMigration    = new bool[_migrations.Length];
     _showMigration[0] = true;
 }
        public override void Initialize(Preferences preferences)
        {
            _headerTexture = EditorLayout.LoadTexture("l:EntitasHeader");

            _scriptingDefineSymbols = new ScriptingDefineSymbols();
            _aercMode = _scriptingDefineSymbols.buildTargetToDefSymbol.Values
                        .All <string>(defs => defs.Contains(ENTITAS_FAST_AND_UNSAFE))
                ? AERCMode.FastAndUnsafe
                : AERCMode.Safe;
        }