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;
 }
Beispiel #4
0
 public override void TransferOwnership(InteractableObject interactableObject)
 {
     base.TransferOwnership(interactableObject);
     OnRemotePressUp();
 }
 public virtual void TransferOwnership(InteractableObject interactableObject) {
 }
 public override void TransferOwnership(InteractableObject interactableObject) {
   base.TransferOwnership(interactableObject);
   OnRemotePressUp();
 }
Beispiel #7
0
 public virtual void TransferOwnership(InteractableObject interactableObject)
 {
 }