my changes

This commit is contained in:
2023-06-15 11:15:01 -04:00
parent bd5ac9b7c9
commit 3c8ab4d6ad
19 changed files with 1893 additions and 11 deletions

View File

@ -0,0 +1,32 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Player
{
public class EmoteHandler : MonoBehaviour
{
[SerializeField]
private Animator anim;
[SerializeField]
private string[] animations;
[SerializeField]
private int emoteNum = 0;
// Start is called before the first frame update
void Start()
{
PlayEmote();
}
public void PlayEmote()
{
anim.Play(animations[emoteNum]);
}
// Update is called once per frame
void Update()
{
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3d59be853e517db4f9cb7269206d056f
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: