// Use this for initialization void Start() { audio = GetComponent <AudioSource> (); anim = GetComponent <Animator> (); kw = GetComponent <KirbyWalk> (); //Application.targetFrameRate = 60; }
// mats[0] = normal face // mats[1] = puffed face // mats[2] = angry face // mats[3] = happy face // mats[4] = :o face // Use this for initialization void Start() { anim = GetComponent <Animator> (); mesh = sphere.GetComponent <SkinnedMeshRenderer> (); script = GetComponent <KirbyWalk> (); }