Example #1
0
 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();
 }
Example #2
0
 void Start()
 {
     controllerInit();
     fanAnim = transform.Find("FanBot").GetComponent <FanAnim> ();
     blower  = GetComponent <blow> ();
 }
 void Start()
 {
     fanAnim = GetComponent <FanAnim>();
 }