Exemple #1
0
 public void OnVirtualObjectTap(RaycastHit hit)
 {
     controller.HandleNonUITouch();
     if (!virtualObjectsManager.HandleNewObject(hit))
     {
         controller.HandleObjectNotCreated();
     }
     else
     {
         controller.HandleObjectCreation();
     }
 }
Exemple #2
0
 public void OnPlaneTouch(ARRaycastHit hit)
 {
     controller.HandleNonUITouch();
     virtualObjectsManager.HandleNewObject(hit.pose);
 }
 public void OnVirtualObjectTap(RaycastHit hit)
 {
     controller.HandleNonUITouch();
     virtualObjectsManager.HandleNewObject(hit);
 }