18 lines
508 B
C#
18 lines
508 B
C#
#if UNITY_EDITOR
|
|
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
namespace O3DWB
|
|
{
|
|
public class ObjectMassEraseOperation : IObjectEraseOperation
|
|
{
|
|
#region Public Methods
|
|
public void Perform()
|
|
{
|
|
List<GameObject> gameObjectsForMassEraseOperation = ObjectEraser.Get().GetGameObjectsForMassEraseOperation();
|
|
ObjectErase.EraseObjectHierarchiesInObjectCollection(gameObjectsForMassEraseOperation);
|
|
}
|
|
#endregion
|
|
}
|
|
}
|
|
#endif |