示例#1
0
    private GridCell gridCell;     // prefab
    private void Awake()
    {
        RectGrid grid = GetComponent <RectGrid>();

        grid.Generate(gridCell);
    }