// Start is called before the first frame update void Start() { myTransform = transform; GameObject manager = GameObject.Find("GameManager"); wNr = manager.GetComponent <wallsNramps>(); gs = manager.GetComponent <GoalSystem>(); }