示例#1
0
 void Awake()
 {
     nodeGenerator = new NodeGenerator(width, height);
     gridNodes     = nodeGenerator.GetNodes();
     spriteGrid    = new SpriteGrid(width, height, this.transform, gridNodes);
     spriteGrid.CreateBackground();
 }