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;
 }
Пример #3
0
 public override void TransferOwnership(InteractableObject interactableObject) {
   base.TransferOwnership(interactableObject);
   InteractableObj = interactableObject;
   InteractableObj.Properties.Add(this);
   Renderer.material = NormalMaterial;
 }
Пример #4
0
 public override void TransferOwnership(InteractableObject interactableObject)
 {
     base.TransferOwnership(interactableObject);
     OnRemotePressUp();
 }
 public virtual void TransferOwnership(InteractableObject interactableObject) {
 }
Пример #6
0
 public override void TransferOwnership(InteractableObject interactableObject) {
   base.TransferOwnership(interactableObject);
   OnRemotePressUp();
 }
Пример #7
0
 public virtual void TransferOwnership(InteractableObject interactableObject)
 {
 }