public void Initialize(EntitasPreferencesConfig config)
 {
     _visualDebuggingConfig = new VisualDebuggingConfig(config);
     _scriptingDefineSymbols = new ScriptingDefineSymbols();
     _enableVisualDebugging = !_scriptingDefineSymbols.buildTargetToDefSymbol.Values
         .All<string>(defs => defs.Contains(ENTITAS_DISABLE_VISUAL_DEBUGGING));
 }
예제 #2
0
 public void Initialize(EntitasPreferencesConfig config) {
     _scriptingDefineSymbols = new ScriptingDefineSymbols();
     _scriptCallOptimization = _scriptingDefineSymbols.buildTargetToDefSymbol.Values
                                     .All<string>(defs => defs.Contains(ENTITAS_FAST_AND_UNSAFE))
                                         ? ScriptCallOptimization.FastAndUnsafe
                                         : ScriptCallOptimization.Disabled;
 }
 public void Initialize(EntitasPreferencesConfig config)
 {
     _scriptingDefineSymbols = new ScriptingDefineSymbols();
     _scriptCallOptimization = _scriptingDefineSymbols.buildTargetToDefSymbol.Values
                               .All <string>(defs => defs.Contains(ENTITAS_FAST_AND_UNSAFE))
                                         ? ScriptCallOptimization.FastAndUnsafe
                                         : ScriptCallOptimization.Disabled;
 }