Initial Commit
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Factories.PrefabFactory
|
||||
{
|
||||
public class Foo : MonoBehaviour
|
||||
{
|
||||
public bool WasInitialized;
|
||||
|
||||
[Inject]
|
||||
public void Init()
|
||||
{
|
||||
WasInitialized = true;
|
||||
}
|
||||
|
||||
public class Factory : PlaceholderFactory<Object, Foo>
|
||||
{
|
||||
}
|
||||
|
||||
public class Factory2 : PlaceholderFactory<string, Foo>
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
+12
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 724cacdf997720a47b671d0a4dc6bb0f
|
||||
timeCreated: 1461166024
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Factories.PrefabFactory
|
||||
{
|
||||
public class Foo2 : MonoBehaviour
|
||||
{
|
||||
[Inject]
|
||||
public string Value
|
||||
{
|
||||
get; private set;
|
||||
}
|
||||
|
||||
public class Factory : PlaceholderFactory<Object, string, Foo2>
|
||||
{
|
||||
}
|
||||
|
||||
public class Factory2 : PlaceholderFactory<string, string, Foo2>
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8aaa72f0222c9a84b9ff566b4609e4a5
|
||||
timeCreated: 1534319941
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user