Class GhostPresentationGameObjectAuthoring
Add the component to a ghost prefab to configure the presentation gameobject for the ghost.
Implements
Inherited Members
Namespace: Unity.NetCode .Hybrid
Assembly: solution.dll
Syntax
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.netcode@latest/index.html?subfolder=/api/Unity.NetCode.Hybrid.GhostPresentationGameObjectAuthoring.html")]
public class GhostPresentationGameObjectAuthoring : MonoBehaviour, IRegisterPlayableData
Remarks
If Server
Fields
Name | Description |
---|---|
Client |
The GameObject prefab which should be used as a visual representation of an entity on the client.
Ghost |
Server |
The GameObject prefab which should be used as a visual representation of an entity on the server.
Ghost |
Methods
Name | Description |
---|---|
Register |
Implementation of IRegister |