public static void DelayedCall(this object anyObject, float delay, Action call)
 {
     DependencyManager.ResolveDependency <DelayedCallService>().DelayedCall(delay, call);
 }
Beispiel #2
0
 private void Awake()
 {
     DontDestroyOnLoad(gameObject);
     DependencyManager.AddDependency <DelayedCallService>(this);
 }
 public static ILog GetLog(this object anyObject)
 {
     return(DependencyManager.ResolveDependency <ILog>());
 }