// Use this for initialization
 void Start()
 {
     move = this.GetComponent<ExampleMovement>();
     playerCamera = this.GetComponent<CameraMovement>();
     staticScript = GetComponentInChildren<staticAnimator>();
 }
 // Use this for initialization
 void Start()
 {
     player = GameObject.FindWithTag("Player");
     staticScript = staticQuad.GetComponent<staticAnimator>();
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     player       = GameObject.FindWithTag("Player");
     staticScript = staticQuad.GetComponent <staticAnimator>();
 }
Exemple #4
0
 // Use this for initialization
 void Start()
 {
     move         = this.GetComponent <ExampleMovement>();
     playerCamera = this.GetComponent <CameraMovement>();
     staticScript = GetComponentInChildren <staticAnimator>();
 }
Exemple #5
0
 // Use this for initialization
 void Start()
 {
     staticScript = GameObject.FindWithTag("Player").GetComponentInChildren <staticAnimator>();
 }