Click or drag to resize

MCUtilitiesIsPrefab Method

Checks that GameObject are prefab.

Namespace:  HightlanderSolutions.MeshCheckerEditorExtension.Utilities
Assembly:  MeshCheckerLibrary (in MeshCheckerLibrary.dll) Version: 2.3
Syntax
C#
public static bool IsPrefab(
	[NotNullAttribute] GameObject gameObject
)

Parameters

gameObject
Type: GameObject
Checked game object.

Return Value

Type: Boolean
true if gameObject is prefab; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptiongameObject is
See Also