API reference
API reference
Select your platform
No SDKs available
No versions available

TransferOwnershipOnSelect Class

Extends MonoBehaviour
The class responsible for the logic of transferring the ownership of networked game objects when they are selected/grabbed (excluding the networking part which is handled via the ITransferOwnership interface).
This class requires a Grabbable component to be present in the same game object or in its children to be able to handle the grabbing/selection logic. When the networked game object should also be influenced by the game's gravity simulation, you need to set UseGravity to true and also add a Rigidbody component to the same game object.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon