Exemplo n.º 1
0
 public static IEnumerable <Component> FindIllegalComponents(GameObject target)
 {
     return(Validation.FindIllegalComponents(target, Validation.WhitelistedTypes("world", ComponentTypeWhiteList)));
 }
Exemplo n.º 2
0
 public static IEnumerable <Shader> FindIllegalShaders(GameObject target)
 {
     return(Validation.FindIllegalShaders(target, ShaderWhiteList));
 }
Exemplo n.º 3
0
 public static IEnumerator RemoveIllegalComponentsEnumerator(GameObject target, bool retry = true)
 {
     return(Validation.RemoveIllegalComponentsEnumerator(target, Validation.WhitelistedTypes("world", ComponentTypeWhiteList), retry, true));
 }