// Use this for initialization void Start() { inputManager.ActivateTarget(); gameOver = false; spawnedObject.gameObject.SetActive(true); inputManager.GetComponent <Animator>().enabled = true; }