Exemple #1
0
 private void SaveAndDispatch()
 {
     GameLocalData.Instance.Save();
     Unibus.Dispatch(EventGameData.Get(EventGameData.Action.DataChange));
 }
 private void DispatchEvent(EventGameData.Action action, string errorMsg = "")
 {
     UnibusEvent.Unibus.Dispatch(EventGameData.Get(action, errorMsg));
 }