// Start is called before the first frame update
 void Start()
 {
     instructionScript = GameObject.FindGameObjectWithTag("InstructionScript").GetComponent <InstructionScript>();
     camera            = GameObject.FindGameObjectWithTag("MainCamera").GetComponent <PlayerCameraFollowScript>();
     fader             = GameObject.FindGameObjectWithTag("Fader").GetComponent <FaderScript>();
     snowBallScript    = GameObject.FindGameObjectWithTag("Snowball").GetComponent <SnowBallScript>();
 }
Exemple #2
0
 // Start is called before the first frame update
 void Start()
 {
     instructionScript = GameObject.FindGameObjectWithTag("InstructionScript").GetComponent <InstructionScript>();
     fader             = GameObject.FindGameObjectWithTag("Fader").GetComponent <FaderScript>();
     snowBallScript    = GameObject.FindGameObjectWithTag("Snowball").GetComponent <SnowBallScript>();
 }