Ejemplo n.º 1
0
 public static void Init(IPlayBehaviour gameController)
 {
     if (Play.gameController == null)
     {
         Play.gameController = gameController;
         Play.Wire();
     }
     else
     {
         throw new Exception("Dividat Play already initialized.");
     }
 }
Ejemplo n.º 2
0
 void Start()
 {
     playBehaviour = GameObject.FindGameObjectWithTag("PlayController").GetComponent <IPlayBehaviour>();
 }