private void SetUpAnimControllers() { lightSwitchAnimController = lightSwitchButton.GetComponent <LightSwitchAnimController>(); orangeLightAnimController = orangeLight.GetComponent <OrangeLightAnimController>(); blueLightAnimController = blueLight.GetComponent <BlueLightAnimController>(); lightStoneAnimController = lightStone.GetComponent <LightStoneAnimController>(); }
private void Start() { buttonPressedBefore = false; lightSwitchAnimController = lightSwitchButton.GetComponent <LightSwitchAnimController>(); questManagerScript = questManager.GetComponent <QuestManager>(); }