Beispiel #1
0
 void OnEnable()
 {
     if (Application.isPlaying)
     {
         entries = entries.Concat(betweenSceneReferences.Where(g => g.gameObject != null)).Where(g => g.gameObject != null).ToList();
         FixEntries();
         ById.Clear();
         ByObject.Clear();
         betweenSceneReferences = entries.Where(g => g.gameObject != null).ToList();
     }
 }
Beispiel #2
0
 public void Clear()
 {
     ById.Clear();
     ByObject.Clear();
     entries.Clear();
 }