Update Project
This commit is contained in:
+20
@@ -0,0 +1,20 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Bindings.DiContainerMethods
|
||||
{
|
||||
//[CreateAssetMenu(fileName = "Foo2", menuName = "Test/Foo2")]
|
||||
public class Foo2 : ScriptableObject
|
||||
{
|
||||
public bool WasInjected
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
[Inject]
|
||||
public void Construct()
|
||||
{
|
||||
WasInjected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user