void Start() { oscInterface.OtherUserDataReceivedEvent += EmitOtherUserParticles; // tell the MocapReceiver to call the GetWandPosition method from this script every time it gets new data for the rigidbody named in the first argument mocapReceiver.RegisterRigidBodyDelegate(otherClientRBName, SetTransform); }
void Start() { receiver.RegisterRigidBodyDelegate(id, AssignHatData); }
void Start() { // tell the MocapReceiver to call the GetWandPosition method from this script every time it gets new data for the rigidbody named in the first argument mocapReceiver.RegisterRigidBodyDelegate(rbName, SetTransform); }