private void OnSelectedColliderChangedExtended(SelectionAction selectionAction, MobileTouchPickable mobileTouchPickable, bool isDoubleClick, bool isLongTap) { if (mobileTouchPickable != null) { if (selectionAction == SelectionAction.Select) { PickableSelectedData pickableSelectedData = new PickableSelectedData() { SelectedTransform = mobileTouchPickable.PickableTransform, IsDoubleClick = isDoubleClick, IsLongTap = isLongTap }; InvokeGenericActionSafe(OnPickableTransformSelectedExtended, pickableSelectedData); } } }
public void OnPickableTransformSelectedExtended(PickableSelectedData data) { Debug.Log("OnPickableTransformSelectedExtended() - SelectedTransform: " + data.SelectedTransform + ", IsLongTap: " + data.IsLongTap); }
public void OnPickableTransformSelectedExtended(PickableSelectedData data) { Transform pickableTransform = data.SelectedTransform; }