protected void Awake() { Instance = this; Singleton <PropertyManager> .Instance.AddRootContext(this); MaxBlocksReached = (from blocks in BlocksPlaced select blocks == 500).TakeUntilDestroy(this).ToReadOnlyReactiveProperty(); }
private void Awake() { LEControls = GetComponent <LevelEditorControls>(); editorModePanel.GetComponent <Animator>().SetBool("EditorModeOn", editorMode); }
private void Awake() { manager = GameObject.Find("Managers").GetComponent<LevelEditorControls>(); }