using System.Collections; using System.Collections.Generic; using UnityEngine; public class RoulletteArrow : MonoBehaviour { public EventRoulletteUI m_EventRoulletteUI; public Animation m_Anim; private void OnTriggerEnter(Collider other) { m_EventRoulletteUI.Set_SelectItem(other.name); m_Anim.Stop(); m_Anim.Play(); } }