示例#1
0
 // Use this for initialization
 void Awake()
 {
     Positions = GetComponent<GridPositionElements>();
     SizeX = GlobalSettings.Instance.gameRuleSettings.Board.Width;
     SizeZ = GlobalSettings.Instance.gameRuleSettings.Board.Height;
     BuildTexture();
     BuildMesh();
 }
 public GameEndPercentageControlled(GridPositionElements gridPositionElements)
 {
     GridPositionElements = gridPositionElements;
 }
示例#3
0
 public void Start()
 {
     HexBoard = GetComponent<HexBoard>();
     Positions = GetComponent<GridPositionElements>();
 }