public void SetObject(int x, int z, int y, GameObject obj) { if (worldObjects[x, z, y] != null) { WorldObjectManager.DestroyObject(this, x, z, y); } worldObjects[x, z, y] = obj; }
public void SetObject(int x, int z, int y, GameObject obj) { if (worldObjects[x, z, y] != null) { WorldObjectManager.DestroyObject(this, x, z, y); } worldObjects[x, z, y] = obj; }