Initial Commit
This commit is contained in:
+23
@@ -0,0 +1,23 @@
|
||||
#if !NOT_UNITY3D
|
||||
|
||||
namespace Zenject
|
||||
{
|
||||
[NoReflectionBaking]
|
||||
public class NameTransformScopeConcreteIdArgConditionCopyNonLazyBinder : TransformScopeConcreteIdArgConditionCopyNonLazyBinder
|
||||
{
|
||||
public NameTransformScopeConcreteIdArgConditionCopyNonLazyBinder(
|
||||
BindInfo bindInfo,
|
||||
GameObjectCreationParameters gameObjectInfo)
|
||||
: base(bindInfo, gameObjectInfo)
|
||||
{
|
||||
}
|
||||
|
||||
public TransformScopeConcreteIdArgConditionCopyNonLazyBinder WithGameObjectName(string gameObjectName)
|
||||
{
|
||||
GameObjectInfo.Name = gameObjectName;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 74c9bb72aa7484d49a39760d2246f1a3
|
||||
timeCreated: 1523257673
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
#if !NOT_UNITY3D
|
||||
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject
|
||||
{
|
||||
[NoReflectionBaking]
|
||||
public class TransformScopeConcreteIdArgConditionCopyNonLazyBinder : ScopeConcreteIdArgConditionCopyNonLazyBinder
|
||||
{
|
||||
public TransformScopeConcreteIdArgConditionCopyNonLazyBinder(
|
||||
BindInfo bindInfo,
|
||||
GameObjectCreationParameters gameObjectInfo)
|
||||
: base(bindInfo)
|
||||
{
|
||||
GameObjectInfo = gameObjectInfo;
|
||||
}
|
||||
|
||||
protected GameObjectCreationParameters GameObjectInfo
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public ScopeConcreteIdArgConditionCopyNonLazyBinder UnderTransform(Transform parent)
|
||||
{
|
||||
GameObjectInfo.ParentTransform = parent;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ScopeConcreteIdArgConditionCopyNonLazyBinder UnderTransform(Func<InjectContext, Transform> parentGetter)
|
||||
{
|
||||
GameObjectInfo.ParentTransformGetter = parentGetter;
|
||||
return this;
|
||||
}
|
||||
|
||||
public ScopeConcreteIdArgConditionCopyNonLazyBinder UnderTransformGroup(string transformGroupname)
|
||||
{
|
||||
GameObjectInfo.GroupName = transformGroupname;
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d6441d2557329b14b8a80a6d3c490e9b
|
||||
timeCreated: 1523257674
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user