15 lines
344 B
C#
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 |