// 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>();
 }
Пример #3
0
 // Use this for initialization
 void Start()
 {
     player       = GameObject.FindWithTag("Player");
     staticScript = staticQuad.GetComponent <staticAnimator>();
 }
Пример #4
0
 // Use this for initialization
 void Start()
 {
     move         = this.GetComponent <ExampleMovement>();
     playerCamera = this.GetComponent <CameraMovement>();
     staticScript = GetComponentInChildren <staticAnimator>();
 }
Пример #5
0
 // Use this for initialization
 void Start()
 {
     staticScript = GameObject.FindWithTag("Player").GetComponentInChildren <staticAnimator>();
 }