Exemple #1
0
 void OnDestroy()
 {
     dgSerializer.UnregisterFollowersListener(this);
 }
 public void DestroyPage()
 {
     globalVars.UnregisterCashListener(this);
     dgSerializer.UnregisterFollowersListener(this);
     GameObject.Destroy(page);
 }