Method WorldPositionStays
WorldPositionStays()
Returns the last known cached WorldPositionStays value for this NetworkObject
Declaration
public bool WorldPositionStays()
Returns
Type | Description |
---|---|
bool | true or false |
Remarks
When parenting NetworkObjects, the optional WorldPositionStays value is cached and synchronized with clients. This method provides access to the instance relative cached value. TrySetParent(GameObject, bool) TrySetParent(NetworkObject, bool) TrySetParent(Transform, bool)