Exemplo n.º 1
0
 public void amUpdate(LaserPicker laser)
 {
     if (WandControlsManager.WandControllerRight.getTriggerDown())
     {
         GameObject currentPoint = Instantiate(app_Point, laser.getTerminalPoint(), Quaternion.LookRotation(laser.getHitNormal()));
         currentPoint.transform.SetParent(GeneralSettings.getActiveLayerObject().transform);
     }
 }