// Use this for initialization void Start() { if (m_WarpStorePanel == null) { m_WarpStorePanel = FindObjectOfType <WarpStorePanel>(); } }
public override void onButtonClick() { WarpStorePanel warpStorePanel = GameCritical.GameMaster.Instance.m_UIManager.m_ShopCanvas.m_WarpStorePanel; if (warpStorePanel != null) { warpStorePanel.TriggerNavAction(m_ActionType); } }