Class ComponentUtility
Inheritance
ComponentUtility
Syntax
public class ComponentUtility
Methods
DestroyComponentsMatching(GameObject, ComponentUtility.IsDesiredComponent)
Declaration
public static void DestroyComponentsMatching(GameObject dst, ComponentUtility.IsDesiredComponent componentFilter)
Parameters
ReplaceComponentsIfDifferent(GameObject, GameObject, ComponentUtility.IsDesiredComponent)
Declaration
public static void ReplaceComponentsIfDifferent(GameObject src, GameObject dst, ComponentUtility.IsDesiredComponent componentFilter)
Parameters