Initial Commit
This commit is contained in:
+24
@@ -0,0 +1,24 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Zenject.Tests.Bindings.InstantiateCallback
|
||||
{
|
||||
public class Foo : MonoBehaviour
|
||||
{
|
||||
public string Value
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
public bool WasInjected
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
[Inject]
|
||||
public void Construct()
|
||||
{
|
||||
WasInjected = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user