void Awake() { // 初始化框架 bool showConsole = Application.isEditor || Debug.isDebugBuild; MotionEngine.Initialize(this, showConsole, HandleMotionFrameworkLog); // 初始化应用 InitAppliaction(); }
void Awake() { #if !UNITY_EDITOR SimulationOnEditor = false; #endif // 初始化应用 InitAppliaction(); // 初始化框架 bool showConsole = Application.isEditor || Debug.isDebugBuild; MotionEngine.Initialize(this, showConsole, HandleMotionFrameworkLog); }
void Awake() { // 初始化应用 InitAppliaction(); // 初始化控制台 if (Application.isEditor || Debug.isDebugBuild) { DeveloperConsole.Initialize(); } // 初始化框架 MotionEngine.Initialize(this, HandleMotionFrameworkLog); }
void Awake() { #if !UNITY_EDITOR SimulationOnEditor = false; #endif // 初始化应用 InitAppliaction(); // 初始化控制台 if (Application.isEditor || Debug.isDebugBuild) { DeveloperConsole.Initialize(); } // 初始化框架 MotionEngine.Initialize(this, HandleMotionFrameworkLog); }