mirror of
https://github.com/ConjureETS/MeltedBananasOJam2016.git
synced 2026-03-24 02:21:06 +00:00
Fix and stuff antoine
This commit is contained in:
parent
b46e0b546a
commit
c3b6714c19
Binary file not shown.
Binary file not shown.
@ -25,8 +25,10 @@ public class FloorTileGenerator : MonoBehaviour {
|
||||
floorArray = new GameObject[x * y];
|
||||
for (int i = 0; i < x * y; ++i)
|
||||
{
|
||||
|
||||
floorArray[i] = (GameObject)Instantiate(tile, new Vector3(i / y, 0, i % y), new Quaternion());
|
||||
floorArray[i].name = i / y + "," + i % y;
|
||||
floorArray[i].transform.parent = gameObject.transform;
|
||||
}
|
||||
#if UNITY_EDITOR
|
||||
Generated = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user