mirror of
https://github.com/Project-Redacted/project-hampter.git
synced 2025-05-29 23:03:16 +00:00
18 lines
408 B
C#
18 lines
408 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Grid_Spawner : MonoBehaviour
|
|
{
|
|
public int width;
|
|
public int height;
|
|
public int cellsize;
|
|
public GameObject gridSpawnPOS;
|
|
[HideInInspector] public Custom_Grid grid;
|
|
|
|
private void Awake()
|
|
{
|
|
grid = new Custom_Grid(width, height, cellsize, gridSpawnPOS.transform.position);
|
|
}
|
|
|
|
}
|