Initial Commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Bindings.FromPrefab
|
||||
{
|
||||
public class Bar : MonoBehaviour
|
||||
{
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 86870631eb8b52e409ad0b86fd44aad7
|
||||
timeCreated: 1458314694
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Bindings.FromPrefab
|
||||
{
|
||||
public class Bob : MonoBehaviour
|
||||
{
|
||||
[NonSerialized]
|
||||
[Inject]
|
||||
public Jim Jim;
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aeb709c66d821b242b8e5016c31bb2d2
|
||||
timeCreated: 1459009627
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Bindings.FromPrefab
|
||||
{
|
||||
public interface IFoo
|
||||
{
|
||||
}
|
||||
|
||||
public class Foo : MonoBehaviour, IFoo
|
||||
{
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f39c997bb2d185144bc18d37878d4ab8
|
||||
timeCreated: 1458245958
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
using ModestTree;
|
||||
using UnityEngine;
|
||||
|
||||
#pragma warning disable 649
|
||||
|
||||
namespace Zenject.Tests.Bindings.FromPrefab
|
||||
{
|
||||
public class Gorp : MonoBehaviour
|
||||
{
|
||||
[Inject]
|
||||
string _arg;
|
||||
|
||||
public string Arg
|
||||
{
|
||||
get { return _arg; }
|
||||
}
|
||||
|
||||
[Inject]
|
||||
public void Initialize()
|
||||
{
|
||||
Log.Trace("Received arg '{0}' in Gorp", _arg);
|
||||
}
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cc679fbba1bf0a645957d68235c4771d
|
||||
timeCreated: 1459002694
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,12 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Bindings.FromPrefab
|
||||
{
|
||||
public class Jim : MonoBehaviour
|
||||
{
|
||||
[NonSerialized]
|
||||
[Inject]
|
||||
public Bob Bob;
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 78b17c518e97edb498c1ff8a4d914bd5
|
||||
timeCreated: 1459009626
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Bindings.FromPrefab
|
||||
{
|
||||
public interface INorf
|
||||
{
|
||||
}
|
||||
|
||||
public class Norf : MonoBehaviour, INorf
|
||||
{
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91f7cce5532e4cc4796d58d33d783a80
|
||||
timeCreated: 1459008624
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Bindings.FromPrefab
|
||||
{
|
||||
public class Norf2 : MonoBehaviour, INorf
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8fb03bf3db5129643a756826728ce939
|
||||
timeCreated: 1459008655
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,19 @@
|
||||
using ModestTree;
|
||||
using UnityEngine;
|
||||
|
||||
#pragma warning disable 649
|
||||
|
||||
namespace Zenject.Tests.Bindings.FromPrefab
|
||||
{
|
||||
public class Qux : MonoBehaviour
|
||||
{
|
||||
[Inject]
|
||||
int _arg;
|
||||
|
||||
[Inject]
|
||||
public void Initialize()
|
||||
{
|
||||
Log.Trace("Received arg '{0}' in Qux", _arg);
|
||||
}
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 914f813dee2b8b248bce3b21eafa7b6e
|
||||
timeCreated: 1459002695
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user