// Start is called before the first frame update void Start() { myView = GetComponent <PhaseView>(); myView.currentPhaseChanged += OnPhaseChange; }