Beispiel #1
0
 public static T Get <T>(Scene scene) where T : ReferableMonoBehaviour
 {
     if (!Accessors.ContainsKey(scene))
     {
         Debug.LogWarning(typeof(T).Name + " is not registered for scene: " + scene.name + "!");
         return(null);
     }
     return(Accessors[scene].Get <T>());
 }