예제 #1
0
    public void endMiniGame()
    {
        generalManager manager = managerGame.GetComponent <generalManager> ();

        manager.miniGameStatus = miniGameStatus;
        manager.endMiniGame    = true;
    }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     simonMode   = GameObject.Find("TileManager").GetComponent <SimonManager>();
     instanceOfB = GameObject.Find("TileManager").GetComponent <TileManager>();
     generalMang = GameObject.Find("TileManager").GetComponent <generalManager>();
     instanceOfC = GameObject.Find("Player").GetComponent <scirp>();
 }
예제 #3
0
    public void Awake()
    {
        genManager = new generalManager();
        colorines  = new Queue <int>();

        Ltiles = new tileL();
        Ltiles.buildL();
        Itiles = new tileI();
        Itiles.buildI();
        Btiles = new tileBox();
        Btiles.buildBox();
        Ttiles = new tileT();
        Ttiles.buildT();
        Stiles = new tileS();
        Stiles.buildS();
    }
예제 #4
0
 void Awake()
 {
     instance = this;
     // instance = this is used to mark location of a OnMouseDown
 }