r2mods/ilspy_dump/ror2_csproj/RJShroomBounce.cs

17 lines
240 B
C#

using UnityEngine;
public class RJShroomBounce : MonoBehaviour
{
private Animator shroomAnimator;
public void Start()
{
shroomAnimator = GetComponent<Animator>();
}
public void Bounce()
{
shroomAnimator.Play("Bounce", 0);
}
}