Exemple #1
0
 void Start()
 {
     _inner5 = DI.Get().Resolve <InnerClass5>();
     Debug.Log("---- start InjectCodeTest ----");
     if (_inner5 != null)
     {
         _inner5.ShowMessage();
     }
     else
     {
         Debug.LogWarning("_inner5 is NULL");
     }
     Debug.Log("---- end InjectCodeTest ----\n");
 }
Exemple #2
0
 void Start()
 {
     Debug.Log("---- start InjectSingleTest ----");
     if (_inner5 != null)
     {
         _inner5.ShowMessage();
     }
     else
     {
         Debug.LogWarning("_inner5 is NULL");
     }
     if (_inner52 != null)
     {
         _inner52.ShowMessage();
     }
     else
     {
         Debug.LogWarning("_inner52 is NULL");
     }
     Debug.Log("---- end InjectSingleTest ----\n");
 }