Example #1
0
	// Use this for initialization
    void Start()
    {
       // Difficalt = 0.9f;
        GameObject GridObject = Instantiate(Resources.Load("Prefab/Grid", typeof(GameObject))) as GameObject;
        MainGrid = GridObject.GetComponent<Grid>();
       
        MainGrid.GenarateGrid(Type, Difficalt);
       
	}