Beispiel #1
0
 /// Start is called on the frame when a script is enabled just before any of the Update methods is called the first time.
 void Start()
 {
     loadPuzzleGame            = GameObject.Find("Puzzle Game Controller").GetComponent <LoadPuzzleGame>();
     puzzleGameManager         = GameObject.Find("Puzzle Game Controller").GetComponent <PuzzleGameManager>();
     levelLocker               = GetComponent <LevelLocker>();
     selectPuzzleMenuAnimator  = selectPuzzleMenuPanel.GetComponent <Animator>();
     selectPuzzleLevelAnimator = selectPuzzleLevelPanel.GetComponent <Animator>();
 }