// Start is called before the first frame update void Start() { theStateManager = GameObject.FindObjectOfType <StateManger>(); }