Exemplo n.º 1
0
 public void ShowPhoneCallView(MySmsOrCallVo data)
 {
     HideAll();
     if (_phoneCallController != null)
     {
         _phoneCallController.SetData(data);
         _phoneCallController.Show();
     }
     else
     {
         var view = InstantiateView <PhoneCallView>("Phone/Prefabs/PhoneCallView");
         _phoneCallController      = new PhoneCallController();
         _phoneCallController.View = (PhoneCallView)view;
         RegisterController(_phoneCallController);
         _phoneCallController.Start();
         _phoneCallController.SetData(data);
     }
     HideBackBtn();
 }
Exemplo n.º 2
0
 // Now we can use controllers
 public void Call()
 {
     var callController = new PhoneCallController("Vasya");
 }