public void OnEnable() { Init(); RebuildChilds(false); DirtyAll(); CheckDirty(); ChunkContentMap.Process(this); }
public bool CheckDirty() { bool any = false; for (int i = 0; i < allMods.Count; i++) { if (allMods[i].CheckDirty()) { any = true; } } if (any) { RecalculateBounds(); ChunkContentMap.Process(this); } return(any); }