Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //This is the cell data script, the mesh combiner will not work without this one
- using System.Collections.Generic;
- using UnityEngine;
- [System.Serializable]
- public class CellData
- {
- public int ID;
- public Vector2 cellOrigin;
- public List<GameObject> cellItems = new List<GameObject>();
- public CellData () { }
- public CellData (int ID, Vector2 cellOrigin, List<GameObject> cellItems)
- {
- this.ID = ID;
- this.cellOrigin = cellOrigin;
- this.cellItems = cellItems;
- }
- public CellData(int ID, Vector2 cellOrigin)
- {
- this.ID = ID;
- this.cellOrigin = cellOrigin;
- //this.cellItems = null;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement