Example #1
0
 public override void HandleNotification(INotification notification)
 {
     base.HandleNotification(notification);
     switch (notification.Name)
     {
     case EventsEnum.CoinChanged:
         PurCharactorInfo info = notification.Body as PurCharactorInfo;
         now_coin_text.text = info.Chara_coin.ToString();
         break;
     }
 }
Example #2
0
 public CharactorInfoProxy() : base(NAME)
 {
     Info = new PurCharactorInfo();
 }