Class GhostPresentationGameObjectEntityOwner
If this component is added to a GameObject used as a GhostPresentationGameObjectPrefabReference it will be setup with references to the entity and world owning this GameObject instance.
Inherited Members
MonoBehaviour.IsInvoking()
MonoBehaviour.CancelInvoke()
MonoBehaviour.StopCoroutine(Coroutine)
MonoBehaviour.StopAllCoroutines()
MonoBehaviour.destroyCancellationToken
MonoBehaviour.useGUILayout
MonoBehaviour.runInEditMode
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponentIndex()
Component.transform
Component.gameObject
Component.tag
Object.GetInstanceID()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, InstantiateParameters)
Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.name
Object.hideFlags
Namespace: Unity.NetCode.Hybrid
Assembly: Unity.NetCode.Hybrid.dll
Syntax
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.netcode@latest/index.html?subfolder=/api/Unity.NetCode.Hybrid.GhostPresentationGameObjectEntityOwner.html")]
public class GhostPresentationGameObjectEntityOwner : MonoBehaviour
Properties
Entity
The entity owning this GameObject.
Declaration
public Entity Entity { get; }
Property Value
Type | Description |
---|---|
Entity |
World
The world in which the entity owning this GameObject exists.
Declaration
public World World { get; }
Property Value
Type | Description |
---|---|
World |
Methods
Initialize(Entity, World)
Convenience method to initialize the debug mesh bounds.
Declaration
public void Initialize(Entity entity, World world)
Parameters
Type | Name | Description |
---|---|---|
Entity | entity | The entity owning this GameObject. |
World | world | The world in which the entity owning this GameObject exists. |