Exemple #1
0
 // 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>();
 }
Exemple #2
0
 // 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();
 }