NetworkObjectExtension..::..IsSamePrefab Method (GameObject, String)
Checks if the GameObject is the same prefab as specified by a prefab signature.
Namespace:
com.onlineobject.objectnetAssembly: ObjectNetAPI (in ObjectNetAPI.dll)
Syntax
Parameters
- gameObject
- Type: GameObject
The GameObject to compare.
- prefabSignature
- Type: String
The signature of the prefab to compare against.