public void TransferOwnership(InteractableObject toInteractableObj) { for (int i = Properties.Count - 1; i >= 0; i--) { Properties[i].TransferOwnership(toInteractableObj); } Destroy(RigidBody); Destroy(this); }
public override void TransferOwnership(InteractableObject interactableObject) { base.TransferOwnership(interactableObject); swipeTimer = 0; touchActive = false; rotationVelocity = Vector3.zero; }
public override void TransferOwnership(InteractableObject interactableObject) { base.TransferOwnership(interactableObject); InteractableObj = interactableObject; InteractableObj.Properties.Add(this); Renderer.material = NormalMaterial; }
public override void TransferOwnership(InteractableObject interactableObject) { base.TransferOwnership(interactableObject); OnRemotePressUp(); }
public virtual void TransferOwnership(InteractableObject interactableObject) { }