Exemple #1
0
 private void RecurseAddInactive(IEnumerable <Transform> items)
 {
     foreach (Transform current in items)
     {
         if (current.GetComponent <UniqueIdentifier>() != null && !current.gameObject.active)
         {
             SaveGameManager.GetId(current.gameObject);
         }
         this.RecurseAddInactive(current.Cast <Transform>());
     }
 }
Exemple #2
0
 void ConfigureId()
 {
     _id = SaveGameManager.GetId(gameObject);
     AllIdentifiers.Add(this);
 }
 private void ConfigureId()
 {
     this._id = SaveGameManager.GetId(base.gameObject);
     UniqueIdentifier.AllIdentifiers.Add(this);
 }