// Use this for initialization void Awake() { stController = gameObject.GetComponent <StanderedController>(); playerController = gameObject.GetComponent <ChickenController>(); //xAxis = Input.GetAxis(string.Format("P{0}Hori", playerController.id)); }
////test in inspector // public float score =0; // Use this for initialization void Awake() { controller = GetComponent <StanderedController>(); extendedController = GetComponent <IntroExtendedFeature>(); specialAbilityController = GetComponent <IntroSpecialAbility>(); playerHealth = GetComponent <Healthbar>(); anim = GetComponent <Animator>(); CameraAnimator = Camera.main.GetComponent <Animator>(); PlayerAnimator = this.gameObject.GetComponent <Animator>(); if (chickColor == null) { chickColor = Color.white; } //3ack PlayerAnimator = this.gameObject.GetComponent <Animator>(); // dustParticalSystem = dustGameObj.GetComponent<ParticleSystem>(); }