Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     cstPan         = GameObject.Find("CustomizationPanel").GetComponent <CustomizationPanel>();
     cameraScript   = GameObject.Find("CustomizationPanel").GetComponent <CameraView>();
     tableDrawer    = GameObject.Find("Table").GetComponent <Animator>();
     drawerAnimator = GameObject.Find("Chest of drawers").GetComponent <Animator>();
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     cstPan        = GameObject.Find("CustomizationPanel").GetComponent <CustomizationPanel>();
     disableScript = GameObject.Find("Game Controller").GetComponent <disableAllClicks>();
     cameraScript  = GameObject.Find("CustomizationPanel").GetComponent <CameraView>();
 }