NetworkedObject
A Data object for forwarding simple transform information to the server.
note
- Properties for NetworkedObjects should be seen only as data stores; do not associate them with Transforms. Use Items for getting/setting Transform properties on the client.
- This type can be networked
Instance Properties
Property Name | Property Type | Default Value | Property Description |
---|---|---|---|
ObjectLocation | string | String.Empty | The location of an Object in a scene (For Hierarchy-based games only). |
IgnoreObjectLocation | bool | false | Whether or not to use ObjectLocation (This needs to be handled in the backend for non-hierarchy game engines). |
Position | float3 | (0, 0, 0) | The Position of the NetworkedObject |
Rotation | float4 | (0, 0, 0, 0) The Rotation of the NetworkedObject | |
Size | float3 | (0, 0, 0) | The Size of the NetworkedObject |