mirror of
https://github.com/Project-Redacted/project-hampter.git
synced 2025-06-02 16:53:15 +00:00
Upload Game
This commit is contained in:
parent
b3f494d5c2
commit
18b63ffa9b
150 changed files with 85782 additions and 0 deletions
18
Assets/MazeScripts/Grid_Spawner.cs
Normal file
18
Assets/MazeScripts/Grid_Spawner.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
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);
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue