Browse Source

上传gitignore文件

蓝色星空 1 year ago
parent
commit
bb816811b0

+ 5 - 1
.gitignore

@@ -36,4 +36,8 @@
 /.vs
 /.vscode
 /Assets/Samples/*
-/Assets/NRSDK
+/Assets/TriLibXR/*
+/Assets/GHZSDK/*
+/Assets/AVProPlayer/*
+/Assets/Immersal/*
+/Assets/NRSDK

+ 8 - 0
Assets/AVProPlayer.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 7995b5a7e8b9a3e46a93bf9f9b3669ee
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 8 - 0
Assets/GHZSDK.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 61f82d14356979e49b907c7141aff38f
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 8 - 0
Assets/Immersal.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: c9ae898be76006940b8b61049a84f882
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 8 - 0
Assets/LiveKitRTC.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: d0cab6f1e31be474b9f68a9fff011020
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 8 - 0
Assets/LoginXR.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 5e199e4928234f146bd5c054f5dee1ef
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 8 - 0
Assets/OOBEPackage.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 101241248081f3d4284199661b610313
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 0 - 98
Assets/Scripts/AllMoveEvent.cs

@@ -1,98 +0,0 @@
-using SC.XR.Unity.Module_InputSystem;
-using System;
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-
-public class AllMoveEvent : MonoBehaviour
-{
-    // Start is called before the first frame update
-    void Start()
-    {
-        DispatcherBase.KeyDownDelegateRegister(downEvent);
-        DispatcherBase.KeyUpDelegateRegister(upEvent);
-
-    }
-
-    InputDevicePartBase NowPart ;
-
-    private void upEvent(InputKeyCode keyCode, InputDevicePartBase part)
-    {
-        if(part.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject!=null&& part.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject.GetComponent<BoxCollider>()==null)
-        {
-            checkMoveUp(part.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject, part);
-        }
-        NowPart = null;
-    }
-
-    public void checkMoveUp(GameObject obj, InputDevicePartBase part)
-    {
-        if(obj)
-        {
-            ManipulationHandler m = obj.GetComponent<ManipulationHandler>();
-            if(m!=null)
-            {
-                m.OnPointerUp(part.inputDataBase.SCPointEventData);
-            }
-            else
-            {
-                if (obj.transform.parent != null)
-                    checkMoveUp(obj.transform.parent.gameObject, part);
-            }
-        }
-    }
-
-    private void downEvent(InputKeyCode keyCode, InputDevicePartBase part)
-    {
-        if (part.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject != null && part.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject.GetComponent<BoxCollider>() == null)
-        {
-            checkMoveDown(part.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject, part);
-        }
-        NowPart = part;
-    }
-
-    public void checkMoveDown(GameObject obj, InputDevicePartBase part)
-    {
-        if (obj)
-        {
-            ManipulationHandler m = obj.GetComponent<ManipulationHandler>();
-            if (m != null)
-            {
-                m.OnPointerDown(part.inputDataBase.SCPointEventData);
-            }
-            else
-            {
-                if (obj.transform.parent != null)
-                    checkMoveDown(obj.transform.parent.gameObject, part);
-            }
-        }
-    }
-
-
-    // Update is called once per frame
-    void Update()
-    {
-        if (NowPart!=null&&NowPart.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject != null && NowPart.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject.GetComponent<BoxCollider>() == null)
-        {
-
-            checkMoveDrag(NowPart.inputDataBase.SCPointEventData.pointerCurrentRaycast.gameObject, NowPart);
-        }
-
-    }
-    public void checkMoveDrag(GameObject obj, InputDevicePartBase part)
-    {
-        if (obj)
-        {
-            ManipulationHandler m = obj.GetComponent<ManipulationHandler>();
-            if (m != null)
-            {
-                m.OnDrag(part.inputDataBase.SCPointEventData);
-            }
-            else
-            {
-                if(obj.transform.parent!=null)
-                checkMoveDrag(obj.transform.parent.gameObject, part);
-            }
-        }
-    }
-}

+ 0 - 11
Assets/Scripts/AllMoveEvent.cs.meta

@@ -1,11 +0,0 @@
-fileFormatVersion: 2
-guid: 0f8cfa0dd8d754142b739c1d8685f79c
-MonoImporter:
-  externalObjects: {}
-  serializedVersion: 2
-  defaultReferences: []
-  executionOrder: 0
-  icon: {instanceID: 0}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 8 - 0
Assets/TriLibXR.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: a6c03aeea9904b741bd23c52e941274a
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 8 - 0
Assets/YiYanPackage.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 5d0802fda8d90264a89aed163aba7593
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: