private void Awake() { _stateMachine = GetComponent <CharacterStateMachine>(); _camera = _stateMachine.GetCamera(); // Create the objects used for UI pullLines = Instantiate(pullLineUIObject, this.transform); forwardLines = Instantiate(forwardLineUIObject, this.transform); Transform grabRingParent = GameObject.Find("Canvas").transform; grabRing = Instantiate(grabRingUIObject, grabRingParent); }