mirror of
https://github.com/frizbee19/FebGameJam.git
synced 2026-11-11 04:22:40 +00:00
Control emotes via an Animator, yay!
This commit is contained in:
13 files changed
+187
-4
No files matched your search
@@ -14,6 +14,6 @@ public class Expressions : MonoBehaviour {
|
||||
// Update is called once per frame
|
||||
void Update() {
|
||||
counter++;
|
||||
animator.SetInteger("Emotion", (counter / 200) % 3);
|
||||
animator.SetInteger("Animation", (counter / 400) % 6);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user