Beispiel #1
0
 public bool TryDefault(Type type, out IComponent component)
 {
     component = DefaultUtility.Default(type) as IComponent;
     return(component != null);
 }
Beispiel #2
0
 public T Default <T>() where T : struct, IComponent => DefaultUtility.Default <T>();