private void PresetSystem() { AssetUtils.isPlayingMode = true; NativeManager.debugConfigHttp = configHttp; FileTools.Start(); TickerCenter.Init(); GameTicker.Start(); NavCpp.Start(); CppCenter.Start(); GlobalLogger.writeLogFile = false; }
public override void OnInspectorGUI() { //_space.prefab = // (GameObject) EditorGUILayout.ObjectField("Model Prefab", _space.prefab, typeof (GameObject), false); base.OnInspectorGUI(); GUILayout.BeginHorizontal(); GUILayout.FlexibleSpace(); if (Application.isPlaying && GUILayout.Button("Play", GUILayout.Width(100))) { TickerCenter.Init(); GameTicker.Start(); _space.Play(); } GUILayout.FlexibleSpace(); GUILayout.EndHorizontal(); }
internal void Update() { SystemTime.Update(); TickerCenter.GetInstance().OnUpdate(); }
public void Start() { GameTicker.Start(); TickerCenter.Init(); }