using UnityEngine; public class EventLuckMagicSelectionView : MonoBehaviour { [SerializeField] private GameObject fxLoop, fxNormal; public void ShowStandByOrHide(Vector2? position = null) { if (!position.HasValue) { gameObject.SetActive(false); return; } transform.position = position.Value; gameObject.SetActive(true); fxLoop.SetActive(true); fxNormal.SetActive(false); } public void ShowBlinkOrStandBy(Vector2? position = null) { gameObject.SetActive(true); if (!position.HasValue) { fxLoop.SetActive(true); fxNormal.SetActive(false); return; } transform.position = position.Value; fxLoop.SetActive(false); fxNormal.SetActive(true);// } }