// Start is called before the first frame update void Start() { //getting all the component from the drawer parent object drawerAnimator = GetComponent <Animator>(); openDrawerAudio = GetComponent <AudioSource>(); revealHandleScript = GetComponent <RevealHandle>(); }
// Start is called before the first frame update void Start() { canvasObj.SetActive(false); //getting all the component from the drawer parent object drawerAnimator = GetComponent <Animator>(); openDrawerAudio = GetComponent <AudioSource>(); revealHandleScript = GetComponent <RevealHandle>(); remainingPuzzle = new UpdatePuzzleNumber(); }