Ejemplo n.º 1
0
 private void Awake()
 {
     if (Singleton != null)
     {
         Destroy(gameObject);
     }
     else
     {
         Singleton = this;
     }
 }
    //========================================================================================
    //                                    public
    //========================================================================================

    public void CheckStart(CheckPlayers plMng)
    {
        enabled = true;
        checker = plMng;
    }