Seiden's expressions

This commit is contained in:
MindfulMinun committed 2022-02-21 17:45:32 -06:00
1 parent 20ecf26165
commit ba3b00fa8c
29 files changed
+1104 -112

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Expressions : MonoBehaviour {
public Animator animator;
private int counter;
// Start is called before the first frame update
void Start() {
counter = 0;
}
// Update is called once per frame
void Update() {
counter++;
animator.SetInteger("Emotion", (counter / 200) % 3);
}
}