示例#1
0
 public override void onHold(ARTouchController controller)
 {
     if (currentObject == null)
     {
         return;
     }
     currentObject.onHold();
     currentObject.rb.isKinematic = false;
     controller.HoldMovable(currentObject);
     currentObject = null;
 }
示例#2
0
 public override void onTap(ARTouchController controller)
 {
 }
示例#3
0
 public override void onTarget(ARTouchController controller, Movable movable)
 {
     TryTarget(movable);
 }
示例#4
0
 public override void onUntarget(ARTouchController controller, Movable movable)
 {
     Untarget();
 }
示例#5
0
 public override void onRelease(ARTouchController controller)
 {
 }
示例#6
0
 public abstract void onHold(ARTouchController controller);
示例#7
0
 public abstract void onTap(ARTouchController controller);
示例#8
0
 public abstract void onUntarget(ARTouchController controller, Movable movable);
示例#9
0
 public abstract void onRelease(ARTouchController controller);