BoltEntity entity = ...; // get the entity to be controlled entity.AssignControl(BoltNetwork.LocalIndex);
BoltEntity entity = ...; // get the entity to be controlled int clientIndex = ...; // the client index to assign control to entity.AssignControl(clientIndex);This code assigns control of the entity to a specific client using the client index. Package/Library: Bolt Networking Library, developed by Photon.