Create a gist now

Instantly share code, notes, and snippets.

@yuta-kaseda /Zen2 Secret
Created Apr 17, 2017

What would you like to do?
public class MonoClass : MonoBehaviour
{
[Inject] GameManager manager;
void Start()
{
//managerはすでにnullじゃない
}
}
public class PureClass
{
GameManager manager;
public PureClass(GameManager manager)
{
this.manager = manager;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment