public void ClearGameObjects(bool bDestroy = true, float fDelay = 0.0f) { if (bDestroy) { foreach (GameObject go in vObjects) { UnityUtil.DestroyAllGameObjects(go, fDelay); } } vObjects = new List <GameObject>(); }