Method CleanInstances
CleanInstances(bool, bool, uint)
Clean prototypes and instances (lonely instances, overriding their prototypes hierarchies...).
Declaration
public void CleanInstances(bool removeUselessInstances, bool removeHierarchyOverridingInstances, uint occurrence = 0)
Parameters
Type | Name | Description |
---|---|---|
bool | removeUselessInstances | Remove instances where they are not needed (prototype referenced once, ...) |
bool | removeHierarchyOverridingInstances | Remove instances overriding their prototypes sub-hierarchies. |
uint | occurrence | Root occurrence for the process |