public static GameObject New(this GameObject instance, GameObject parent, Vector3 po, params ActionContainer[] initializers) { return(instance.New( ArrayEx.Concat( _.a((Transform t) => { t.SetParent(parent.transform); t.localPosition = po; }) , initializers))); }
public static GameObject Construct(this GameObject instance, GameObject parent, params ActionContainer[] initializers) => instance.Construct( ArrayEx.Concat( _.a((Transform t) => { parent.Add(t); }) , initializers));