Ejemplo n.º 1
0
        private void Start()
        {
            Stop();

            var go = new GameObject("[Coherence Sync]")
            {
                tag       = "EditorOnly",
                hideFlags = HideFlags.NotEditable | HideFlags.DontSave
            };

            sync = go.AddComponent <SyncManager>();
            sync.Setup();

            CoherenceSettings.Instance.isStarted = true;
        }