public void ClearData() { hasBuiltMesh = false; lightGenerationCount = 0; meshBuildCount = 0; torchList.Clear(); collidable.GetComponent <MeshFilter>().sharedMesh = null; notCollidable.GetComponent <MeshFilter>().sharedMesh = null; water.GetComponent <MeshFilter>().sharedMesh = null; }
public void ClearData() { collidable.GetComponent <MeshFilter>().sharedMesh = null; notCollidable.GetComponent <MeshFilter>().sharedMesh = null; water.GetComponent <MeshFilter>().sharedMesh = null; }