r2mods/ilspy_dump/ror2_csproj/RJShroomBounce.cs

17 lines
240 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using UnityEngine;
public class RJShroomBounce : MonoBehaviour
{
private Animator shroomAnimator;
public void Start()
{
shroomAnimator = GetComponent<Animator>();
}
public void Bounce()
{
shroomAnimator.Play("Bounce", 0);
}
}