public static ConcreteIdArgConditionCopyNonLazyBinder FromNewComponentOnNewGameObject(this FromBinderNonGeneric binder, string name) { return(binder.FromNewComponentOn(new GameObject(name)).AsCached()); }
public static ConcreteIdArgConditionCopyNonLazyBinder FromNewComponentOnNewGameObject(this FromBinderNonGeneric binder, string name = null) { return(binder.FromNewComponentOn(new GameObject(name ?? binder.BindInfo.ContractTypes.FirstOrDefault().Name ?? nameof(GameObject))).AsCached()); }