예제 #1
0
 void Awake()
 {
     _instance     = this;
     name          = "DirtyUpdate";
     _update       = new List <System.Action>();
     _removeUpdate = new List <System.Action>();
 }
예제 #2
0
 void OnDestroy()
 {
     _instance = null;
 }