// 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>(); }
// Use this for initialization void Start() { player = GameObject.FindWithTag("Player"); staticScript = staticQuad.GetComponent <staticAnimator>(); }
// Use this for initialization void Start() { move = this.GetComponent <ExampleMovement>(); playerCamera = this.GetComponent <CameraMovement>(); staticScript = GetComponentInChildren <staticAnimator>(); }
// Use this for initialization void Start() { staticScript = GameObject.FindWithTag("Player").GetComponentInChildren <staticAnimator>(); }