示例#1
0
    void actualStart()
    {
        ground = gameObject.GetComponent<MakeGround>();

        //used to set up attributes of board and then create it
        ground.SendMessage("setTerrainAttributes");
        ground.SendMessage("startMakeGrid");

        isBattleGUIActive = false;
    }
示例#2
0
    //method to actually set evertyhing up
    void actualStart()
    {
        //gets the ground (gdm37::and the unit script)
        ground = gameObject.GetComponent<MakeGround>();
        gridFunc = gameObject.GetComponent<GridFunction>();
        units = gameObject.GetComponent<UnitMaster>(); //gdm37
        interaction = gameObject.GetComponent<InteractionControl>(); //gdm37

        //used to set up attributes of board and then create it
        ground.SendMessage("setTerrainAttributes");
        ground.SendMessage("startMakeGrid");

        //gdm37:: used to create the units
        units.SendMessage("teamSetup");

        isBattleGUIActive = false;
    }