void Start() { hat = GetComponentInChildren <FanAnim>(); hatMaxVel = hat.maxVel; leftFoot = transform.Find("LeftFoot").gameObject; rightFoot = transform.Find("RightFoot").gameObject; walkAccumlator = 0.0f; jumpAccumlator = 0.0f; Puff(); }
void Start() { controllerInit(); fanAnim = transform.Find("FanBot").GetComponent <FanAnim> (); blower = GetComponent <blow> (); }
void Start() { fanAnim = GetComponent <FanAnim>(); }