public void Start() { if (!Application.isEditor) { pureData.DestroyChildren(); } }
public void Initialize(PureData pureData) { this.pureData = pureData; if (Application.isPlaying) { FreezeTransforms(); if (!Application.isEditor) { pureData.DestroyChildren(); } } // UpdateHierarchy(); }