1
0
Fork 0
LaboratoryProtection/Assets/UnityTest/Common/Scripts/Set/ObjectSetInitializer_Test.cs

15 lines
344 B
C#

#if UNITY_EDITOR
using PMaker.Extension;
using PMaker.Set;
using System.Linq;
public class ObjectSetInitializer_Test : ObjectSetInitializerBase
{
protected override void SetValue()
{
var root = this.transform.Find("root_object");
this._set.objects.AddRange(root.Children().Select(_ => _.gameObject));
}
}
#endif