#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