Class SceneObjectGuid
Generates a globally unique identifier (System.Guid) for a GameObject that has this component.
Inherited Members
Namespace: Unity.Tutorials.Core
Syntax
[ExecuteInEditMode]
[DisallowMultipleComponent]
[AddComponentMenu("")]
public class SceneObjectGuid : MonoBehaviour
Remarks
This component is removed from the GameObject when were are not in Editor Mode.
Properties
Id
The unique identifier.
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String |