private void Start() { if (!TheGame.IsMobile() && ItemSelectedFX.Get() == null) { Instantiate(GameData.Get().item_select_fx, transform.position, Quaternion.identity); } PlayerControlsMouse.Get().onRightClick += (Vector3) => { CancelSelection(); }; }
void Awake() { _instance = this; icon_group.SetActive(false); title.enabled = false; }