void Start() { target = GameObject.FindGameObjectWithTag("Player").GetComponent <SceneOnLoad>(); getIn.SetActive(false); locking.SetActive(false); knock.SetActive(false); }
void Start() { gameController = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <GameController>(); target = GameObject.FindGameObjectWithTag("Player").GetComponent <SceneOnLoad>(); getIn.SetActive(false); }