Ejemplo n.º 1
0
 public void Init(ReversyController controller, Camera cam, DiskType player)
 {
     this.controller           = controller;
     this.cam                  = cam;
     myType                    = player;
     controller.OnTurnStarted += OnMoveBegin;
 }
Ejemplo n.º 2
0
 public void Init(ReversyController controller, DiskType player)
 {
     this.controller           = controller;
     myType                    = player;
     controller.OnTurnStarted += (type) => {
         if (myType == type)
         {
             StartCoroutine(MakeMoveInTime(0.5f));
         }
     };
 }