Method HasAllComponents
|
Improve this Doc
View Source
HasAllComponents(GameObject, params string[])
Check if GameObject has all of the specified components.
Declaration
public static bool HasAllComponents(this GameObject gameObject, params string[] componentNames)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
string[] |
componentNames |
|
Returns
|
Improve this Doc
View Source
HasAllComponents(GameObject, params Type[])
Check if GameObject has all of the specified components.
Declaration
public static bool HasAllComponents(this GameObject gameObject, params Type[] components)
Parameters
Type |
Name |
Description |
GameObject |
gameObject |
|
Type[] |
components |
|
Returns