Browse Source

覆盖原有项目

胡佳骏 1 year ago
parent
commit
94b73602dc
100 changed files with 56 additions and 3072 deletions
  1. 0 303
      Assets/1.unity
  2. 0 7
      Assets/1.unity.meta
  3. BIN
      Assets/123.fbx
  4. 0 106
      Assets/123.fbx.meta
  5. BIN
      Assets/321.fbx
  6. 0 106
      Assets/321.fbx.meta
  7. 0 18
      Assets/333.tpsheet
  8. 0 7
      Assets/333.tpsheet.meta
  9. BIN
      Assets/3d66Model-7794044-files-1.jpg
  10. 0 135
      Assets/3d66Model-7794044-files-1.jpg.meta
  11. 1 0
      Assets/Agora-RTC-Plugin/API-Example/Tools/Logger.cs
  12. 48 0
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Code/Tools/litjson-0.17.0/LitJSON.sln
  13. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/AgoraRtcWrapper.dll
  14. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/agora_rtc_sdk.dll
  15. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/av1.dll
  16. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/glfw3.dll
  17. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora-fdkaac.dll
  18. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora-ffmpeg.dll
  19. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora-soundtouch.dll
  20. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora-wgc.dll
  21. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_ai_noise_suppression_extension.dll
  22. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_audio_beauty_extension.dll
  23. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_clear_vision_extension.dll
  24. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_content_inspect_extension.dll
  25. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_dav1d.dll
  26. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_drm_loader_extension.dll
  27. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_pvc_extension.dll
  28. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_screen_capture_extension.dll
  29. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_segmentation_extension.dll
  30. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_spatial_audio_extension.dll
  31. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libudrm3.dll
  32. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/AgoraRtcWrapper.dll
  33. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/agora_rtc_sdk.dll
  34. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/av1.dll
  35. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/glfw3.dll
  36. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora-fdkaac.dll
  37. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora-ffmpeg.dll
  38. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora-soundtouch.dll
  39. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora-wgc.dll
  40. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_ai_noise_suppression_extension.dll
  41. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_audio_beauty_extension.dll
  42. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_clear_vision_extension.dll
  43. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_content_inspect_extension.dll
  44. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_dav1d.dll
  45. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_drm_loader_extension.dll
  46. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_pvc_extension.dll
  47. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_screen_capture_extension.dll
  48. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_segmentation_extension.dll
  49. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_spatial_audio_extension.dll
  50. BIN
      Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libudrm3.dll
  51. 0 315
      Assets/AgoraTestVideo.cs
  52. 0 11
      Assets/AgoraTestVideo.cs.meta
  53. 0 402
      Assets/AgoraTestVideoNotToken.cs
  54. 0 11
      Assets/AgoraTestVideoNotToken.cs.meta
  55. 0 573
      Assets/AgoraVideoAudioManager.cs
  56. 0 11
      Assets/AgoraVideoAudioManager.cs.meta
  57. 0 20
      Assets/AgoraVideoJo.cs
  58. 0 11
      Assets/AgoraVideoJo.cs.meta
  59. BIN
      Assets/CScript.zip
  60. 0 7
      Assets/CScript.zip.meta
  61. 2 2
      Assets/CScript/App/AppManager.cs
  62. 4 5
      Assets/CScript/Net/PackageHandler.cs
  63. 1 1
      Assets/CScript/Net/Server.cs
  64. 0 8
      Assets/Editor/Migration.meta
  65. 0 477
      Assets/Editor/Migration/AddVuforiaEnginePackage.cs
  66. 0 11
      Assets/Editor/Migration/AddVuforiaEnginePackage.cs.meta
  67. BIN
      Assets/Editor/Migration/com.ptc.vuforia.engine-10.10.2.tgz
  68. 0 7
      Assets/Editor/Migration/com.ptc.vuforia.engine-10.10.2.tgz.meta
  69. BIN
      Assets/Editor/Migration/com.ptc.vuforia.engine-10.12.3.tgz
  70. 0 7
      Assets/Editor/Migration/com.ptc.vuforia.engine-10.12.3.tgz.meta
  71. BIN
      Assets/Editor/Migration/com.ptc.vuforia.engine-10.13.3.tgz
  72. 0 7
      Assets/Editor/Migration/com.ptc.vuforia.engine-10.13.3.tgz.meta
  73. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials.meta
  74. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/0.mat
  75. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/0.mat.meta
  76. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/1.mat
  77. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/1.mat.meta
  78. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/10.mat
  79. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/10.mat.meta
  80. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/100.mat
  81. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/100.mat.meta
  82. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/101.mat
  83. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/101.mat.meta
  84. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/102.mat
  85. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/102.mat.meta
  86. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/103.mat
  87. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/103.mat.meta
  88. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/104.mat
  89. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/104.mat.meta
  90. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/105.mat
  91. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/105.mat.meta
  92. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/106.mat
  93. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/106.mat.meta
  94. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/107.mat
  95. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/107.mat.meta
  96. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/108.mat
  97. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/108.mat.meta
  98. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/109.mat
  99. 0 8
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/109.mat.meta
  100. 0 28
      Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/11.mat

+ 0 - 303
Assets/1.unity

@@ -1,303 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!29 &1
-OcclusionCullingSettings:
-  m_ObjectHideFlags: 0
-  serializedVersion: 2
-  m_OcclusionBakeSettings:
-    smallestOccluder: 5
-    smallestHole: 0.25
-    backfaceThreshold: 100
-  m_SceneGUID: 00000000000000000000000000000000
-  m_OcclusionCullingData: {fileID: 0}
---- !u!104 &2
-RenderSettings:
-  m_ObjectHideFlags: 0
-  serializedVersion: 9
-  m_Fog: 0
-  m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
-  m_FogMode: 3
-  m_FogDensity: 0.01
-  m_LinearFogStart: 0
-  m_LinearFogEnd: 300
-  m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
-  m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
-  m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
-  m_AmbientIntensity: 1
-  m_AmbientMode: 0
-  m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1}
-  m_SkyboxMaterial: {fileID: 10304, guid: 0000000000000000f000000000000000, type: 0}
-  m_HaloStrength: 0.5
-  m_FlareStrength: 1
-  m_FlareFadeSpeed: 3
-  m_HaloTexture: {fileID: 0}
-  m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0}
-  m_DefaultReflectionMode: 0
-  m_DefaultReflectionResolution: 128
-  m_ReflectionBounces: 1
-  m_ReflectionIntensity: 1
-  m_CustomReflection: {fileID: 0}
-  m_Sun: {fileID: 0}
-  m_IndirectSpecularColor: {r: 0.44402242, g: 0.49316543, b: 0.5722324, a: 1}
-  m_UseRadianceAmbientProbe: 0
---- !u!157 &3
-LightmapSettings:
-  m_ObjectHideFlags: 0
-  serializedVersion: 12
-  m_GIWorkflowMode: 1
-  m_GISettings:
-    serializedVersion: 2
-    m_BounceScale: 1
-    m_IndirectOutputScale: 1
-    m_AlbedoBoost: 1
-    m_EnvironmentLightingMode: 0
-    m_EnableBakedLightmaps: 1
-    m_EnableRealtimeLightmaps: 0
-  m_LightmapEditorSettings:
-    serializedVersion: 12
-    m_Resolution: 2
-    m_BakeResolution: 40
-    m_AtlasSize: 1024
-    m_AO: 0
-    m_AOMaxDistance: 1
-    m_CompAOExponent: 1
-    m_CompAOExponentDirect: 0
-    m_ExtractAmbientOcclusion: 0
-    m_Padding: 2
-    m_LightmapParameters: {fileID: 0}
-    m_LightmapsBakeMode: 1
-    m_TextureCompression: 1
-    m_FinalGather: 0
-    m_FinalGatherFiltering: 1
-    m_FinalGatherRayCount: 256
-    m_ReflectionCompression: 2
-    m_MixedBakeMode: 2
-    m_BakeBackend: 1
-    m_PVRSampling: 1
-    m_PVRDirectSampleCount: 32
-    m_PVRSampleCount: 512
-    m_PVRBounces: 2
-    m_PVREnvironmentSampleCount: 256
-    m_PVREnvironmentReferencePointCount: 2048
-    m_PVRFilteringMode: 1
-    m_PVRDenoiserTypeDirect: 1
-    m_PVRDenoiserTypeIndirect: 1
-    m_PVRDenoiserTypeAO: 1
-    m_PVRFilterTypeDirect: 0
-    m_PVRFilterTypeIndirect: 0
-    m_PVRFilterTypeAO: 0
-    m_PVREnvironmentMIS: 1
-    m_PVRCulling: 1
-    m_PVRFilteringGaussRadiusDirect: 1
-    m_PVRFilteringGaussRadiusIndirect: 5
-    m_PVRFilteringGaussRadiusAO: 2
-    m_PVRFilteringAtrousPositionSigmaDirect: 0.5
-    m_PVRFilteringAtrousPositionSigmaIndirect: 2
-    m_PVRFilteringAtrousPositionSigmaAO: 1
-    m_ExportTrainingData: 0
-    m_TrainingDataDestination: TrainingData
-    m_LightProbeSampleCountMultiplier: 4
-  m_LightingDataAsset: {fileID: 0}
-  m_LightingSettings: {fileID: 0}
---- !u!196 &4
-NavMeshSettings:
-  serializedVersion: 2
-  m_ObjectHideFlags: 0
-  m_BuildSettings:
-    serializedVersion: 2
-    agentTypeID: 0
-    agentRadius: 0.5
-    agentHeight: 2
-    agentSlope: 45
-    agentClimb: 0.4
-    ledgeDropHeight: 0
-    maxJumpAcrossDistance: 0
-    minRegionArea: 2
-    manualCellSize: 0
-    cellSize: 0.16666667
-    manualTileSize: 0
-    tileSize: 256
-    accuratePlacement: 0
-    maxJobWorkers: 0
-    preserveTilesOutsideBounds: 0
-    debug:
-      m_Flags: 0
-  m_NavMeshData: {fileID: 0}
---- !u!1 &351627362
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 351627364}
-  - component: {fileID: 351627363}
-  m_Layer: 0
-  m_Name: Directional Light
-  m_TagString: Untagged
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!108 &351627363
-Light:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 351627362}
-  m_Enabled: 1
-  serializedVersion: 10
-  m_Type: 1
-  m_Shape: 0
-  m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
-  m_Intensity: 1
-  m_Range: 10
-  m_SpotAngle: 30
-  m_InnerSpotAngle: 21.80208
-  m_CookieSize: 10
-  m_Shadows:
-    m_Type: 2
-    m_Resolution: -1
-    m_CustomResolution: -1
-    m_Strength: 1
-    m_Bias: 0.05
-    m_NormalBias: 0.4
-    m_NearPlane: 0.2
-    m_CullingMatrixOverride:
-      e00: 1
-      e01: 0
-      e02: 0
-      e03: 0
-      e10: 0
-      e11: 1
-      e12: 0
-      e13: 0
-      e20: 0
-      e21: 0
-      e22: 1
-      e23: 0
-      e30: 0
-      e31: 0
-      e32: 0
-      e33: 1
-    m_UseCullingMatrixOverride: 0
-  m_Cookie: {fileID: 0}
-  m_DrawHalo: 0
-  m_Flare: {fileID: 0}
-  m_RenderMode: 0
-  m_CullingMask:
-    serializedVersion: 2
-    m_Bits: 4294967295
-  m_RenderingLayerMask: 1
-  m_Lightmapping: 4
-  m_LightShadowCasterMode: 0
-  m_AreaSize: {x: 1, y: 1}
-  m_BounceIntensity: 1
-  m_ColorTemperature: 6570
-  m_UseColorTemperature: 0
-  m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
-  m_UseBoundingSphereOverride: 0
-  m_UseViewFrustumForShadowCasterCull: 1
-  m_ShadowRadius: 0
-  m_ShadowAngle: 0
---- !u!4 &351627364
-Transform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 351627362}
-  m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
-  m_LocalPosition: {x: 0, y: 3, z: 0}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_ConstrainProportionsScale: 0
-  m_Children: []
-  m_Father: {fileID: 0}
-  m_RootOrder: 1
-  m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
---- !u!1 &1865503912
-GameObject:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  serializedVersion: 6
-  m_Component:
-  - component: {fileID: 1865503915}
-  - component: {fileID: 1865503914}
-  - component: {fileID: 1865503913}
-  m_Layer: 0
-  m_Name: Main Camera
-  m_TagString: MainCamera
-  m_Icon: {fileID: 0}
-  m_NavMeshLayer: 0
-  m_StaticEditorFlags: 0
-  m_IsActive: 1
---- !u!81 &1865503913
-AudioListener:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1865503912}
-  m_Enabled: 1
---- !u!20 &1865503914
-Camera:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1865503912}
-  m_Enabled: 1
-  serializedVersion: 2
-  m_ClearFlags: 1
-  m_BackGroundColor: {r: 0.19215687, g: 0.3019608, b: 0.4745098, a: 0}
-  m_projectionMatrixMode: 1
-  m_GateFitMode: 2
-  m_FOVAxisMode: 0
-  m_SensorSize: {x: 36, y: 24}
-  m_LensShift: {x: 0, y: 0}
-  m_FocalLength: 50
-  m_NormalizedViewPortRect:
-    serializedVersion: 2
-    x: 0
-    y: 0
-    width: 1
-    height: 1
-  near clip plane: 0.3
-  far clip plane: 1000
-  field of view: 60
-  orthographic: 0
-  orthographic size: 5
-  m_Depth: -1
-  m_CullingMask:
-    serializedVersion: 2
-    m_Bits: 4294967295
-  m_RenderingPath: -1
-  m_TargetTexture: {fileID: 0}
-  m_TargetDisplay: 0
-  m_TargetEye: 3
-  m_HDR: 1
-  m_AllowMSAA: 1
-  m_AllowDynamicResolution: 0
-  m_ForceIntoRT: 0
-  m_OcclusionCulling: 1
-  m_StereoConvergence: 10
-  m_StereoSeparation: 0.022
---- !u!4 &1865503915
-Transform:
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_GameObject: {fileID: 1865503912}
-  m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
-  m_LocalPosition: {x: 0, y: 1, z: -10}
-  m_LocalScale: {x: 1, y: 1, z: 1}
-  m_ConstrainProportionsScale: 0
-  m_Children: []
-  m_Father: {fileID: 0}
-  m_RootOrder: 0
-  m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

+ 0 - 7
Assets/1.unity.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: cd12a15eb0babdc4ea9b5d0c999347a1
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/123.fbx


+ 0 - 106
Assets/123.fbx.meta

@@ -1,106 +0,0 @@
-fileFormatVersion: 2
-guid: 2cac567a4d728b148af8d284c446dd3b
-ModelImporter:
-  serializedVersion: 21300
-  internalIDToNameTable: []
-  externalObjects: {}
-  materials:
-    materialImportMode: 2
-    materialName: 0
-    materialSearch: 1
-    materialLocation: 1
-  animations:
-    legacyGenerateAnimations: 4
-    bakeSimulation: 0
-    resampleCurves: 1
-    optimizeGameObjects: 0
-    removeConstantScaleCurves: 1
-    motionNodeName: 
-    rigImportErrors: 
-    rigImportWarnings: 
-    animationImportErrors: 
-    animationImportWarnings: 
-    animationRetargetingWarnings: 
-    animationDoRetargetingWarnings: 0
-    importAnimatedCustomProperties: 0
-    importConstraints: 0
-    animationCompression: 1
-    animationRotationError: 0.5
-    animationPositionError: 0.5
-    animationScaleError: 0.5
-    animationWrapMode: 0
-    extraExposedTransformPaths: []
-    extraUserProperties: []
-    clipAnimations: []
-    isReadable: 0
-  meshes:
-    lODScreenPercentages: []
-    globalScale: 1
-    meshCompression: 0
-    addColliders: 0
-    useSRGBMaterialColor: 1
-    sortHierarchyByName: 1
-    importVisibility: 1
-    importBlendShapes: 1
-    importCameras: 1
-    importLights: 1
-    nodeNameCollisionStrategy: 1
-    fileIdsGeneration: 2
-    swapUVChannels: 0
-    generateSecondaryUV: 0
-    useFileUnits: 1
-    keepQuads: 0
-    weldVertices: 1
-    bakeAxisConversion: 0
-    preserveHierarchy: 0
-    skinWeightsMode: 0
-    maxBonesPerVertex: 4
-    minBoneWeight: 0.001
-    optimizeBones: 1
-    meshOptimizationFlags: -1
-    indexFormat: 0
-    secondaryUVAngleDistortion: 8
-    secondaryUVAreaDistortion: 15.000001
-    secondaryUVHardAngle: 88
-    secondaryUVMarginMethod: 1
-    secondaryUVMinLightmapResolution: 40
-    secondaryUVMinObjectScale: 1
-    secondaryUVPackMargin: 4
-    useFileScale: 1
-  tangentSpace:
-    normalSmoothAngle: 60
-    normalImportMode: 0
-    tangentImportMode: 3
-    normalCalculationMode: 4
-    legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
-    blendShapeNormalImportMode: 1
-    normalSmoothingSource: 0
-  referencedClips: []
-  importAnimation: 1
-  humanDescription:
-    serializedVersion: 3
-    human: []
-    skeleton: []
-    armTwist: 0.5
-    foreArmTwist: 0.5
-    upperLegTwist: 0.5
-    legTwist: 0.5
-    armStretch: 0.05
-    legStretch: 0.05
-    feetSpacing: 0
-    globalScale: 1
-    rootMotionBoneName: 
-    hasTranslationDoF: 0
-    hasExtraRoot: 0
-    skeletonHasParents: 1
-  lastHumanDescriptionAvatarSource: {instanceID: 0}
-  autoGenerateAvatarMappingIfUnspecified: 1
-  animationType: 2
-  humanoidOversampling: 1
-  avatarSetup: 0
-  addHumanoidExtraRootOnlyWhenUsingAvatar: 1
-  remapMaterialsIfMaterialImportModeIsNone: 0
-  additionalBone: 0
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/321.fbx


+ 0 - 106
Assets/321.fbx.meta

@@ -1,106 +0,0 @@
-fileFormatVersion: 2
-guid: b547e8cf1330cd0448f5634156912ae0
-ModelImporter:
-  serializedVersion: 21300
-  internalIDToNameTable: []
-  externalObjects: {}
-  materials:
-    materialImportMode: 2
-    materialName: 0
-    materialSearch: 1
-    materialLocation: 1
-  animations:
-    legacyGenerateAnimations: 4
-    bakeSimulation: 0
-    resampleCurves: 1
-    optimizeGameObjects: 0
-    removeConstantScaleCurves: 1
-    motionNodeName: 
-    rigImportErrors: 
-    rigImportWarnings: 
-    animationImportErrors: 
-    animationImportWarnings: 
-    animationRetargetingWarnings: 
-    animationDoRetargetingWarnings: 0
-    importAnimatedCustomProperties: 0
-    importConstraints: 0
-    animationCompression: 1
-    animationRotationError: 0.5
-    animationPositionError: 0.5
-    animationScaleError: 0.5
-    animationWrapMode: 0
-    extraExposedTransformPaths: []
-    extraUserProperties: []
-    clipAnimations: []
-    isReadable: 0
-  meshes:
-    lODScreenPercentages: []
-    globalScale: 1
-    meshCompression: 0
-    addColliders: 0
-    useSRGBMaterialColor: 1
-    sortHierarchyByName: 1
-    importVisibility: 1
-    importBlendShapes: 1
-    importCameras: 1
-    importLights: 1
-    nodeNameCollisionStrategy: 1
-    fileIdsGeneration: 2
-    swapUVChannels: 0
-    generateSecondaryUV: 0
-    useFileUnits: 1
-    keepQuads: 0
-    weldVertices: 1
-    bakeAxisConversion: 0
-    preserveHierarchy: 0
-    skinWeightsMode: 0
-    maxBonesPerVertex: 4
-    minBoneWeight: 0.001
-    optimizeBones: 1
-    meshOptimizationFlags: -1
-    indexFormat: 0
-    secondaryUVAngleDistortion: 8
-    secondaryUVAreaDistortion: 15.000001
-    secondaryUVHardAngle: 88
-    secondaryUVMarginMethod: 1
-    secondaryUVMinLightmapResolution: 40
-    secondaryUVMinObjectScale: 1
-    secondaryUVPackMargin: 4
-    useFileScale: 1
-  tangentSpace:
-    normalSmoothAngle: 60
-    normalImportMode: 0
-    tangentImportMode: 3
-    normalCalculationMode: 4
-    legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
-    blendShapeNormalImportMode: 1
-    normalSmoothingSource: 0
-  referencedClips: []
-  importAnimation: 1
-  humanDescription:
-    serializedVersion: 3
-    human: []
-    skeleton: []
-    armTwist: 0.5
-    foreArmTwist: 0.5
-    upperLegTwist: 0.5
-    legTwist: 0.5
-    armStretch: 0.05
-    legStretch: 0.05
-    feetSpacing: 0
-    globalScale: 1
-    rootMotionBoneName: 
-    hasTranslationDoF: 0
-    hasExtraRoot: 0
-    skeletonHasParents: 1
-  lastHumanDescriptionAvatarSource: {instanceID: 0}
-  autoGenerateAvatarMappingIfUnspecified: 1
-  animationType: 2
-  humanoidOversampling: 1
-  avatarSetup: 0
-  addHumanoidExtraRootOnlyWhenUsingAvatar: 1
-  remapMaterialsIfMaterialImportModeIsNone: 0
-  additionalBone: 0
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 18
Assets/333.tpsheet

@@ -1,18 +0,0 @@
-#
-# Sprite sheet data for Unity.
-#
-# To import these sprites into your Unity project, download "TexturePackerImporter":
-# https://www.codeandweb.com/texturepacker/unity
-#
-# $TexturePacker:SmartUpdate:d8f6bfeba66f3e367f42c1c63e92da43:4569f29e94c2853e009e322db341e3bc:f637428901af52a74db4771d75cd2c9c$
-#
-:format=40300
-:texture=333.png
-:size=1024x2048
-:pivotpoints=enabled
-:borders=disabled
-:alphahandling=ClearTransparentPixels
-
-3;503;1336;400;711; 0.5;0.5; 0;0;0;0; 4;400;0;0;0;0;711;400;711; 2;1;2;3;0;1;3
-44;503;534;393;800; 0.5;0.5; 0;0;0;0; 4;393;0;0;0;0;800;393;800; 2;1;2;3;0;1;3
-download2;1;1297;500;750; 0.5;0.5; 0;0;0;0; 4;500;0;0;0;0;750;500;750; 2;1;2;3;0;1;3

+ 0 - 7
Assets/333.tpsheet.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: fada7e56dd134754ea92b947345783e3
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/3d66Model-7794044-files-1.jpg


+ 0 - 135
Assets/3d66Model-7794044-files-1.jpg.meta

@@ -1,135 +0,0 @@
-fileFormatVersion: 2
-guid: 1be00f12759d6094a906130aaabdde72
-TextureImporter:
-  internalIDToNameTable: []
-  externalObjects: {}
-  serializedVersion: 12
-  mipmaps:
-    mipMapMode: 0
-    enableMipMap: 1
-    sRGBTexture: 1
-    linearTexture: 0
-    fadeOut: 0
-    borderMipMap: 0
-    mipMapsPreserveCoverage: 0
-    alphaTestReferenceValue: 0.5
-    mipMapFadeDistanceStart: 1
-    mipMapFadeDistanceEnd: 3
-  bumpmap:
-    convertToNormalMap: 0
-    externalNormalMap: 0
-    heightScale: 0.25
-    normalMapFilter: 0
-  isReadable: 0
-  streamingMipmaps: 0
-  streamingMipmapsPriority: 0
-  vTOnly: 0
-  ignoreMasterTextureLimit: 0
-  grayScaleToAlpha: 0
-  generateCubemap: 6
-  cubemapConvolution: 0
-  seamlessCubemap: 0
-  textureFormat: 1
-  maxTextureSize: 2048
-  textureSettings:
-    serializedVersion: 2
-    filterMode: 1
-    aniso: 1
-    mipBias: 0
-    wrapU: 0
-    wrapV: 0
-    wrapW: 0
-  nPOTScale: 1
-  lightmap: 0
-  compressionQuality: 50
-  spriteMode: 0
-  spriteExtrude: 1
-  spriteMeshType: 1
-  alignment: 0
-  spritePivot: {x: 0.5, y: 0.5}
-  spritePixelsToUnits: 100
-  spriteBorder: {x: 0, y: 0, z: 0, w: 0}
-  spriteGenerateFallbackPhysicsShape: 1
-  alphaUsage: 1
-  alphaIsTransparency: 0
-  spriteTessellationDetail: -1
-  textureType: 0
-  textureShape: 1
-  singleChannelComponent: 0
-  flipbookRows: 1
-  flipbookColumns: 1
-  maxTextureSizeSet: 0
-  compressionQualitySet: 0
-  textureFormatSet: 0
-  ignorePngGamma: 0
-  applyGammaDecoding: 0
-  cookieLightType: 0
-  platformSettings:
-  - serializedVersion: 3
-    buildTarget: DefaultTexturePlatform
-    maxTextureSize: 2048
-    resizeAlgorithm: 0
-    textureFormat: -1
-    textureCompression: 1
-    compressionQuality: 50
-    crunchedCompression: 0
-    allowsAlphaSplitting: 0
-    overridden: 0
-    androidETC2FallbackOverride: 0
-    forceMaximumCompressionQuality_BC6H_BC7: 0
-  - serializedVersion: 3
-    buildTarget: Standalone
-    maxTextureSize: 2048
-    resizeAlgorithm: 0
-    textureFormat: -1
-    textureCompression: 1
-    compressionQuality: 50
-    crunchedCompression: 0
-    allowsAlphaSplitting: 0
-    overridden: 0
-    androidETC2FallbackOverride: 0
-    forceMaximumCompressionQuality_BC6H_BC7: 0
-  - serializedVersion: 3
-    buildTarget: Server
-    maxTextureSize: 2048
-    resizeAlgorithm: 0
-    textureFormat: -1
-    textureCompression: 1
-    compressionQuality: 50
-    crunchedCompression: 0
-    allowsAlphaSplitting: 0
-    overridden: 0
-    androidETC2FallbackOverride: 0
-    forceMaximumCompressionQuality_BC6H_BC7: 0
-  - serializedVersion: 3
-    buildTarget: Android
-    maxTextureSize: 2048
-    resizeAlgorithm: 0
-    textureFormat: -1
-    textureCompression: 1
-    compressionQuality: 50
-    crunchedCompression: 0
-    allowsAlphaSplitting: 0
-    overridden: 0
-    androidETC2FallbackOverride: 0
-    forceMaximumCompressionQuality_BC6H_BC7: 0
-  spriteSheet:
-    serializedVersion: 2
-    sprites: []
-    outline: []
-    physicsShape: []
-    bones: []
-    spriteID: 
-    internalID: 0
-    vertices: []
-    indices: 
-    edges: []
-    weights: []
-    secondaryTextures: []
-    nameFileIdTable: {}
-  spritePackingTag: 
-  pSDRemoveMatte: 0
-  pSDShowRemoveMatteOption: 0
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 1 - 0
Assets/Agora-RTC-Plugin/API-Example/Tools/Logger.cs

@@ -14,6 +14,7 @@ namespace Agora.Util
 
         public void UpdateLog(string logMessage)
         {
+            return;
             Debug.Log(logMessage);
             string srcLogMessage = text.text;
             if (srcLogMessage.Length > 400)

+ 48 - 0
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Code/Tools/litjson-0.17.0/LitJSON.sln

@@ -0,0 +1,48 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+VisualStudioVersion = 15.0.26124.0
+MinimumVisualStudioVersion = 15.0.26124.0
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LitJSON", "src\LitJson\LitJSON.csproj", "{CFBC33D5-BB2D-4F22-B157-0862C4A77039}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LitJSON.Tests", "test\LitJSON.Tests.csproj", "{E031C1B4-CD87-475E-9283-4571435C65DB}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Debug|x64 = Debug|x64
+		Debug|x86 = Debug|x86
+		Release|Any CPU = Release|Any CPU
+		Release|x64 = Release|x64
+		Release|x86 = Release|x86
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Debug|x64.ActiveCfg = Debug|x64
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Debug|x64.Build.0 = Debug|x64
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Debug|x86.ActiveCfg = Debug|x86
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Debug|x86.Build.0 = Debug|x86
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Release|Any CPU.Build.0 = Release|Any CPU
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Release|x64.ActiveCfg = Release|x64
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Release|x64.Build.0 = Release|x64
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Release|x86.ActiveCfg = Release|x86
+		{CFBC33D5-BB2D-4F22-B157-0862C4A77039}.Release|x86.Build.0 = Release|x86
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Debug|x64.ActiveCfg = Debug|x64
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Debug|x64.Build.0 = Debug|x64
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Debug|x86.ActiveCfg = Debug|x86
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Debug|x86.Build.0 = Debug|x86
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Release|Any CPU.Build.0 = Release|Any CPU
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Release|x64.ActiveCfg = Release|x64
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Release|x64.Build.0 = Release|x64
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Release|x86.ActiveCfg = Release|x86
+		{E031C1B4-CD87-475E-9283-4571435C65DB}.Release|x86.Build.0 = Release|x86
+	EndGlobalSection
+EndGlobal

BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/AgoraRtcWrapper.dll


BIN
Assets/Editor/Vuforia/AreaTargetSample/Data/NavMesh/Meshes/mesh0.asset → Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/agora_rtc_sdk.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/av1.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/glfw3.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora-fdkaac.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora-ffmpeg.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora-soundtouch.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora-wgc.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_ai_noise_suppression_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_audio_beauty_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_clear_vision_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_content_inspect_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_dav1d.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_drm_loader_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_pvc_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_screen_capture_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_segmentation_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libagora_spatial_audio_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86/libudrm3.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/AgoraRtcWrapper.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/agora_rtc_sdk.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/av1.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/glfw3.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora-fdkaac.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora-ffmpeg.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora-soundtouch.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora-wgc.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_ai_noise_suppression_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_audio_beauty_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_clear_vision_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_content_inspect_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_dav1d.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_drm_loader_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_pvc_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_screen_capture_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_segmentation_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libagora_spatial_audio_extension.dll


BIN
Assets/Agora-RTC-Plugin/Agora-Unity-RTC-SDK/Plugins/x86_64/libudrm3.dll


+ 0 - 315
Assets/AgoraTestVideo.cs

@@ -1,315 +0,0 @@
-using Agora.Rtc;
-using Agora.Util;
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-using UnityEngine.Serialization;
-using UnityEngine.UI;
-using Logger = Agora.Util.Logger;
-
-public class AgoraTestVideo : MonoBehaviour
-{
-    [FormerlySerializedAs("appIdInput")]
-    [SerializeField]
-    private AppIdInput _appIdInput;
-
-    [Header("_____________Basic Configuration_____________")]
-    [FormerlySerializedAs("APP_ID")]
-    [SerializeField]
-    private string _appID = "";
-
-    [FormerlySerializedAs("TOKEN")]
-    [SerializeField]
-    private string _token = "";
-
-    [FormerlySerializedAs("CHANNEL_NAME")]
-    [SerializeField]
-    private string _channelName = "";
-    internal static string _channelToken = "";
-    internal static string _tokenBase = "http://localhost:8080";
-    internal CONNECTION_STATE_TYPE _state = CONNECTION_STATE_TYPE.CONNECTION_STATE_DISCONNECTED;
-    public uint uid;
-
-    internal Logger Log;
-    public Text Logtext;
-    internal IRtcEngine rtcEngine;
-    private RtcEngineEventHandler rtcEngineEventHandler;
-    private RtcConnection rtcConnection;
-
-    public InputField inputChannelName;
-    public Button joinChannel;
-    public Button leaveChannel;
-    // Start is called before the first frame update
-    void Start()
-    {
-        LoadAssetData();
-        if (CheckAppId())
-        {
-            InitEngine();
-
-        }
-
-        joinChannel.onClick.AddListener(JoinChannel);
-        leaveChannel.onClick.AddListener(LeavelChannel);
-    }
-
-    
-    
-
-
-    // Update is called once per frame
-    void Update()
-    {
-        PermissionHelper.RequestMicrophontPermission();
-        PermissionHelper.RequestCameraPermission();
-    }
-
-
-    [ContextMenu("ShowAgoraBasicProfileData")]
-    private void LoadAssetData()
-    {
-        if (_appIdInput == null) return;
-        _appID = _appIdInput.appID;
-        _token = _appIdInput.token;
-        _channelToken = _appIdInput.token;
-        _channelName = _appIdInput.channelName;
-    }
-    private bool CheckAppId()
-    {
-        Log = new Logger(Logtext);
-        return Log.DebugAssert(_appID.Length > 10, "Please fill in your appId in API-Example/profile/appIdInput.asset");
-    }
-    private void InitEngine()
-    {
-        rtcEngine = Agora.Rtc.RtcEngine.CreateAgoraRtcEngine();
-        RtcEngineContext context = new RtcEngineContext(_appID, 0,
-            CHANNEL_PROFILE_TYPE.CHANNEL_PROFILE_LIVE_BROADCASTING,
-            AUDIO_SCENARIO_TYPE.AUDIO_SCENARIO_DEFAULT);
-        rtcEngine.Initialize(context);
-        UserEventHandler handler = new UserEventHandler(this);
-        rtcEngine.InitEventHandler(handler);
-
-    }
-
-    private void JoinChannel()
-    {
-        _channelName = inputChannelName.text;
-
-        rtcEngine.SetClientRole(CLIENT_ROLE_TYPE.CLIENT_ROLE_BROADCASTER);
-        rtcEngine.EnableAudio();
-        rtcEngine.EnableVideo();
-        //if (_channelToken.Length == 0)
-        //{
-        //    Logtext.text = " Token NULL";
-        //    return;
-        //}
-        rtcEngine.JoinChannel(_channelToken, _channelName, "");
-    }
-
-    private void LeavelChannel()
-    {
-      int msg =  rtcEngine.LeaveChannel();
-
-        switch (msg)
-        {
-            case 0:
-                Logtext.text = " 成功离开频道 "+ _channelName;
-                break;
-            default:
-                Logtext.text = " 离开频道失败 " + msg;
-                break;
-        }
-    }
-
-    internal void RenewOrJoinToken(string newToken)
-    {
-        AgoraTestVideo._channelToken = newToken;
-        if (_state == CONNECTION_STATE_TYPE.CONNECTION_STATE_DISCONNECTED
-            || _state == CONNECTION_STATE_TYPE.CONNECTION_STATE_DISCONNECTED
-            || _state == CONNECTION_STATE_TYPE.CONNECTION_STATE_FAILED
-        )
-        {
-            // If we are not connected yet, connect to the channel as normal
-            JoinChannel();
-        }
-        else
-        {
-            // If we are already connected, we should just update the token
-            UpdateToken();
-        }
-    }
-    private void UpdateToken()
-    {
-        rtcEngine.RenewToken(AgoraTestVideo._channelToken);
-    }
-
-    internal static void DestroyVideoView(uint uid)
-    {
-        GameObject go = GameObject.Find(uid.ToString());
-        if (!ReferenceEquals(go, null))
-        {
-            Object.Destroy(go);
-        }
-    }
-
-    internal static void MakeVideoView(uint uid, string channelId = "")
-    {
-        GameObject go = GameObject.Find(uid.ToString());
-        if (!ReferenceEquals(go, null))
-        {
-            return; // reuse
-        }
-
-        // create a GameObject and assign to this new user
-        VideoSurface videoSurface = MakeImageSurface(uid.ToString());
-        if (!ReferenceEquals(videoSurface, null))
-        {
-            // configure videoSurface
-            if (uid == 0)
-            {
-                videoSurface.SetForUser(uid, channelId);
-            }
-            else
-            {
-                videoSurface.SetForUser(uid, channelId, VIDEO_SOURCE_TYPE.VIDEO_SOURCE_REMOTE);
-            }
-
-            videoSurface.OnTextureSizeModify += (int width, int height) =>
-            {
-                float scale = (float)height / (float)width;
-                videoSurface.transform.localScale = new Vector3(-5, 5 * scale, 1);
-                Debug.Log("OnTextureSizeModify: " + width + "  " + height);
-            };
-
-            videoSurface.SetEnable(true);
-        }
-    }
-
-    internal string GetChannelName()
-    {
-        return _channelName;
-    }
-
- 
-
-    private static VideoSurface MakeImageSurface(string goName)
-    {
-        GameObject go = new GameObject();
-
-        if (go == null)
-        {
-            return null;
-        }
-
-        go.name = goName;
-        // to be renderered onto
-        go.AddComponent<RawImage>();
-        // make the object draggable
-        go.AddComponent<UIElementDrag>();
-        GameObject canvas = GameObject.Find("VideoCanvas");
-        if (canvas != null)
-        {
-            go.transform.parent = canvas.transform;
-            Debug.Log("add video view");
-        }
-        else
-        {
-            Debug.Log("Canvas is null video view");
-        }
-
-        // set up transform
-        go.transform.Rotate(0f, 0.0f, 180.0f);
-        go.transform.localPosition = Vector3.zero;
-        go.transform.localScale = new Vector3(3f, 4f, 1f);
-
-        // configure videoSurface
-        var videoSurface = go.AddComponent<VideoSurface>();
-        return videoSurface;
-    }
-
-   
-    private void OnDestroy()
-    {
-        Debug.Log("OnDestroy");
-        if (rtcEngine == null) return;
-        rtcEngine.InitEventHandler(null);
-        rtcEngine.LeaveChannel();
-        rtcEngine.Dispose();
-    }
-}
-internal class UserEventHandler : IRtcEngineEventHandler
-{
-    private readonly AgoraTestVideo _helloVideoTokenAgora;
-
-    internal UserEventHandler(AgoraTestVideo helloVideoTokenAgora)
-    {
-        _helloVideoTokenAgora = helloVideoTokenAgora;
-    }
-
-    public override void OnError(int err, string msg)
-    {
-        _helloVideoTokenAgora.Log.UpdateLog(string.Format("OnError err: {0}, msg: {1}", err, msg));
-    }
-
-    public override void OnJoinChannelSuccess(RtcConnection connection, int elapsed)
-    {
-        int build = 0;
-        _helloVideoTokenAgora.Log.UpdateLog(string.Format("sdk version: ${0}",
-            _helloVideoTokenAgora.rtcEngine.GetVersion(ref build)));
-        _helloVideoTokenAgora.Log.UpdateLog(
-            string.Format("OnJoinChannelSuccess channelName: {0}, uid: {1}, elapsed: {2}",
-                connection.channelId, connection.localUid, elapsed));
-        _helloVideoTokenAgora.Log.UpdateLog(string.Format("New Token: {0}",
-            AgoraTestVideo._channelToken));
-        // HelperClass.FetchToken(tokenBase, channelName, 0, this.RenewOrJoinToken);
-        AgoraTestVideo.MakeVideoView(0);
-    }
-
-    public override void OnRejoinChannelSuccess(RtcConnection connection, int elapsed)
-    {
-        _helloVideoTokenAgora.Log.UpdateLog("OnRejoinChannelSuccess");
-    }
-
-    public override void OnLeaveChannel(RtcConnection connection, RtcStats stats)
-    {
-        _helloVideoTokenAgora.Log.UpdateLog("OnLeaveChannel");
-        AgoraTestVideo.DestroyVideoView(0);
-    }
-
-    public override void OnClientRoleChanged(RtcConnection connection, CLIENT_ROLE_TYPE oldRole,
-        CLIENT_ROLE_TYPE newRole)
-    {
-        _helloVideoTokenAgora.Log.UpdateLog("OnClientRoleChanged");
-    }
-
-    public override void OnUserJoined(RtcConnection connection, uint uid, int elapsed)
-    {
-        _helloVideoTokenAgora.Log.UpdateLog(string.Format("OnUserJoined uid: ${0} elapsed: ${1}", uid,
-            elapsed));
-        AgoraTestVideo.MakeVideoView(uid, _helloVideoTokenAgora.GetChannelName());
-    }
-
-    public override void OnUserOffline(RtcConnection connection, uint uid, USER_OFFLINE_REASON_TYPE reason)
-    {
-        _helloVideoTokenAgora.Log.UpdateLog(string.Format("OnUserOffLine uid: ${0}, reason: ${1}", uid,
-            (int)reason));
-        AgoraTestVideo.DestroyVideoView(uid);
-    }
-
-    public override void OnTokenPrivilegeWillExpire(RtcConnection connection, string token)
-    {
-        _helloVideoTokenAgora.StartCoroutine(HelperClass.FetchToken(AgoraTestVideo._tokenBase,
-            _helloVideoTokenAgora.GetChannelName(), 0, _helloVideoTokenAgora.RenewOrJoinToken));
-    }
-
-    public override void OnConnectionStateChanged(RtcConnection connection, CONNECTION_STATE_TYPE state,
-        CONNECTION_CHANGED_REASON_TYPE reason)
-    {
-        _helloVideoTokenAgora._state = state;
-    }
-
-    public override void OnConnectionLost(RtcConnection connection)
-    {
-        _helloVideoTokenAgora.Log.UpdateLog(string.Format("OnConnectionLost "));
-    }
-}

+ 0 - 11
Assets/AgoraTestVideo.cs.meta

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

+ 0 - 402
Assets/AgoraTestVideoNotToken.cs

@@ -1,402 +0,0 @@
-using UnityEngine;
-using UnityEngine.UI;
-using UnityEngine.Serialization;
-using Agora.Rtc;
-using Agora.Util;
-using Logger = Agora.Util.Logger;
-using System.Collections.Generic;
-
-public class AgoraTestVideoNotToken : MonoBehaviour
-{
-    [FormerlySerializedAs("appIdInput")]
-    [SerializeField]
-    private AppIdInput _appIdInput;
-
-    [Header("_____________Basic Configuration_____________")]
-    [FormerlySerializedAs("APP_ID")]
-    [SerializeField]
-    private string _appID = "";
-
-    [FormerlySerializedAs("TOKEN")]
-    [SerializeField]
-    private string _token = "";
-
-    [FormerlySerializedAs("CHANNEL_NAME")]
-    [SerializeField]
-    private string _channelName = "";
-
-    public Text LogText;
-    internal Logger Log;
-    internal IRtcEngine RtcEngine = null;
-
-    private Button _stopPublishButton;
-    public Button _startPublishButton;
-
-
-    public InputField inputChannel;
-    public Button joinChannel;
-    public Button leaveChannel;
-    public Button audioBtn;
-    public Button videoBtn;
-    private bool isAudio;
-    private bool isVideo;
-
-    private static Dictionary<string, Agora.Rtc.UserInfo> disUserPeer_Uid;
-    // Use this for initialization
-    private void Start()
-    {
-        LoadAssetData();
-        if (CheckAppId())
-        {
-            InitEngine();
-           // JoinChannel();
-            SetupUI();
-        }
-        disUserPeer_Uid = new Dictionary<string, Agora.Rtc.UserInfo>();
-    }
-
-    // Update is called once per frame
-    private void Update()
-    {
-        PermissionHelper.RequestMicrophontPermission();
-        PermissionHelper.RequestCameraPermission();
-    }
-
-    //Show data in AgoraBasicProfile
-    [ContextMenu("ShowAgoraBasicProfileData")]
-    private void LoadAssetData()
-    {
-        if (_appIdInput == null) return;
-        _appID = _appIdInput.appID;
-        _token = _appIdInput.token;
-        _channelName = _appIdInput.channelName;
-    }
-
-
-    private bool CheckAppId()
-    {
-        Log = new Logger(LogText);
-        return Log.DebugAssert(_appID.Length > 10, "Please fill in your appId in API-Example/profile/appIdInput.asset");
-    }
-
-    private void InitEngine()
-    {
-        RtcEngine = Agora.Rtc.RtcEngine.CreateAgoraRtcEngine();
-        AgoraVideoTestEventHandler handler = new AgoraVideoTestEventHandler(this);
-        RtcEngineContext context = new RtcEngineContext(_appID, 0,
-                                    CHANNEL_PROFILE_TYPE.CHANNEL_PROFILE_LIVE_BROADCASTING,
-                                    AUDIO_SCENARIO_TYPE.AUDIO_SCENARIO_DEFAULT);
-        RtcEngine.Initialize(context);
-        RtcEngine.InitEventHandler(handler);
-    }
-
-    private void JoinChannel()
-    {
-        RtcEngine.EnableAudio();
-        RtcEngine.EnableVideo();
-        VideoEncoderConfiguration config = new VideoEncoderConfiguration();
-        config.dimensions = new VideoDimensions(640, 360);
-        config.frameRate = 15;
-        config.bitrate = 0;
-        RtcEngine.SetVideoEncoderConfiguration(config);
-        RtcEngine.SetChannelProfile(CHANNEL_PROFILE_TYPE.CHANNEL_PROFILE_COMMUNICATION);
-        RtcEngine.SetClientRole(CLIENT_ROLE_TYPE.CLIENT_ROLE_BROADCASTER);
-        _channelName = inputChannel.text;
-        RtcEngine.JoinChannel(_token, _channelName);
-    }
-
-    private void SetupUI()
-    {
-        _stopPublishButton = GameObject.Find("StopButton").GetComponent<Button>();
-        _stopPublishButton.onClick.AddListener(StopPublish);
-
-        _startPublishButton = GameObject.Find("StartButton").GetComponent<Button>();
-        _startPublishButton.onClick.AddListener(StartPublish);
-        _startPublishButton.gameObject.SetActive(false);
-
-        joinChannel.onClick.AddListener(JoinChannel);
-        leaveChannel.onClick.AddListener(LeaveChannel);
-
-        isAudio = true;
-        isVideo = true;
-        audioBtn.onClick.AddListener(() =>
-        {
-            isAudio = !isAudio;
-            int msg = RtcEngine.EnableLocalAudio(isAudio);
-            switch (msg)
-            {
-                case 0:
-                    LogText.text = isAudio?"打开本地音频成功":"关闭本地音频成功 ";
-                    break;
-                default:
-                    LogText.text = "开关本地音频失败: " + msg;
-                    break;
-            }
-        });
-
-        videoBtn.onClick.AddListener(() =>
-        {
-            isVideo = !isVideo;
-            int msg = RtcEngine.EnableLocalVideo(isVideo);
-            switch (msg)
-            {
-                case 0:
-                    LogText.text = isVideo?"打开本地视频成功 ": "关闭本地视频成功 ";
-                    break;
-                default:
-                    LogText.text = "开关本地视频失败: " + msg;
-                    break;
-            }
-        });
-
-        //取消或恢复订阅指定远端用户的音频流。
-        //RtcEngine.MuteRemoteAudioStream();
-
-        //取消或恢复订阅指定远端用户的视频流。
-        //RtcEngine.MuteRemoteVideoStream();
-
-       
-    }
-
-    public void LeaveChannel()
-    {
-        int msg = RtcEngine.LeaveChannel();
-        switch (msg)
-        {
-            case 0:
-                LogText.text = "成功退出频道: "+_channelName;
-                break;
-            default:
-                LogText.text = "退出频道失败: " + msg;
-                break;
-        }
-    }
-
-    private void StopPublish()
-    {
-        var options = new ChannelMediaOptions();
-        options.publishMicrophoneTrack.SetValue(false);
-        options.publishCameraTrack.SetValue(false);
-        var nRet = RtcEngine.UpdateChannelMediaOptions(options);
-        this.Log.UpdateLog("UpdateChannelMediaOptions: " + nRet);
-
-        _stopPublishButton.gameObject.SetActive(false);
-        _startPublishButton.gameObject.SetActive(true);
-    }
-
-    private void StartPublish()
-    {
-        var options = new ChannelMediaOptions();
-        options.publishMicrophoneTrack.SetValue(true);
-        options.publishCameraTrack.SetValue(true);
-        var nRet = RtcEngine.UpdateChannelMediaOptions(options);
-        this.Log.UpdateLog("UpdateChannelMediaOptions: " + nRet);
-
-        _stopPublishButton.gameObject.SetActive(true);
-        _startPublishButton.gameObject.SetActive(false);
-    }
-
-    private void OnDestroy()
-    {
-        Debug.Log("OnDestroy");
-        if (RtcEngine == null) return;
-        RtcEngine.InitEventHandler(null);
-        RtcEngine.LeaveChannel();
-        RtcEngine.Dispose();
-    }
-
-    internal string GetChannelName()
-    {
-        return _channelName;
-    }
-
-    internal static void MakeVideoView(uint uid, string channelId = "")
-    {
-        var go = GameObject.Find(uid.ToString());
-        if (!ReferenceEquals(go, null))
-        {
-            return; // reuse
-        }
-
-        // create a GameObject and assign to this new user
-        var videoSurface = MakeImageSurface(uid.ToString());
-        if (ReferenceEquals(videoSurface, null)) return;
-        // configure videoSurface
-        if (uid == 0)
-        {
-            videoSurface.SetForUser(uid, channelId);
-        }
-        else
-        {
-            videoSurface.SetForUser(uid, channelId, VIDEO_SOURCE_TYPE.VIDEO_SOURCE_REMOTE);
-        }
-
-        videoSurface.OnTextureSizeModify += (int width, int height) =>
-        {
-            float scale = (float)height / (float)width;
-            videoSurface.transform.localScale = new Vector3(-5, 5 * scale, 1);
-            Debug.Log("OnTextureSizeModify: " + width + "  " + height);
-        };
-
-        videoSurface.SetEnable(true);
-    }
-
-    internal static void OnUserInfoUpdated(uint uid, Agora.Rtc.UserInfo info)
-    {
-        Debug.Log(info.uid);
-        disUserPeer_Uid.Add("", info);
-    }
-
-    #region -- Video Render UI Logic ---
-
-    // VIDEO TYPE 1: 3D Object
-    private static VideoSurface MakePlaneSurface(string goName)
-    {
-        var go = GameObject.CreatePrimitive(PrimitiveType.Plane);
-
-        if (go == null)
-        {
-            return null;
-        }
-
-        go.name = goName;
-        // set up transform
-        go.transform.Rotate(-90.0f, 0.0f, 0.0f);
-        var yPos = Random.Range(3.0f, 5.0f);
-        var xPos = Random.Range(-2.0f, 2.0f);
-        go.transform.position = Vector3.zero;
-        go.transform.localScale = new Vector3(0.25f, 0.5f, 0.5f);
-
-        // configure videoSurface
-        var videoSurface = go.AddComponent<VideoSurface>();
-        return videoSurface;
-    }
-
-    // Video TYPE 2: RawImage
-    private static VideoSurface MakeImageSurface(string goName)
-    {
-        GameObject go = new GameObject();
-
-        if (go == null)
-        {
-            return null;
-        }
-
-        go.name = goName;
-        // to be renderered onto
-        go.AddComponent<RawImage>();
-        // make the object draggable
-        go.AddComponent<UIElementDrag>();
-        var canvas = GameObject.Find("VideoCanvas");
-        if (canvas != null)
-        {
-            go.transform.parent = canvas.transform;
-            Debug.Log("add video view");
-        }
-        else
-        {
-            Debug.Log("Canvas is null video view");
-        }
-
-        // set up transform
-        go.transform.Rotate(0f, 0.0f, 180.0f);
-        go.transform.localPosition = Vector3.zero;
-        go.transform.localScale = new Vector3(2f, 3f, 1f);
-
-        // configure videoSurface
-        var videoSurface = go.AddComponent<VideoSurface>();
-        return videoSurface;
-    }
-
-    internal static void DestroyVideoView(uint uid)
-    {
-        var go = GameObject.Find(uid.ToString());
-        if (!ReferenceEquals(go, null))
-        {
-            Destroy(go);
-        }
-    }
-
-    #endregion
-}
-
-#region -- Agora Event ---
-
-public class AgoraVideoTestEventHandler : IRtcEngineEventHandler
-{
-    private readonly AgoraTestVideoNotToken _videoSample;
-
-    internal AgoraVideoTestEventHandler(AgoraTestVideoNotToken videoSample)
-    {
-        _videoSample = videoSample;
-    }
-
-    public override void OnError(int err, string msg)
-    {
-        _videoSample.Log.UpdateLog(string.Format("OnError err: {0}, msg: {1}", err, msg));
-    }
-
-    public override void OnJoinChannelSuccess(RtcConnection connection, int elapsed)
-    {
-        int build = 0;
-        Debug.Log("Agora: OnJoinChannelSuccess ");
-        _videoSample.Log.UpdateLog(string.Format("sdk version: ${0}",
-            _videoSample.RtcEngine.GetVersion(ref build)));
-        _videoSample.Log.UpdateLog(string.Format("sdk build: ${0}",
-          build));
-        _videoSample.Log.UpdateLog(
-            string.Format("OnJoinChannelSuccess channelName: {0}, uid: {1}, elapsed: {2}",
-                            connection.channelId, connection.localUid, elapsed));
-
-        AgoraTestVideoNotToken.MakeVideoView(0);
-    }
-
-    public override void OnRejoinChannelSuccess(RtcConnection connection, int elapsed)
-    {
-        _videoSample.Log.UpdateLog("OnRejoinChannelSuccess");
-    }
-
-    public override void OnLeaveChannel(RtcConnection connection, RtcStats stats)
-    {
-        _videoSample.Log.UpdateLog("OnLeaveChannel");
-        AgoraTestVideoNotToken.DestroyVideoView(0);
-    }
-
-    public override void OnClientRoleChanged(RtcConnection connection, CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole)
-    {
-        _videoSample.Log.UpdateLog("OnClientRoleChanged");
-    }
-
-    public override void OnUserJoined(RtcConnection connection, uint uid, int elapsed)
-    {
-        _videoSample.Log.UpdateLog(string.Format("OnUserJoined uid: ${0} elapsed: ${1}", uid, elapsed));
-        AgoraTestVideoNotToken.MakeVideoView(uid, _videoSample.GetChannelName());
-    }
-
-    public override void OnUserOffline(RtcConnection connection, uint uid, USER_OFFLINE_REASON_TYPE reason)
-    {
-        _videoSample.Log.UpdateLog(string.Format("OnUserOffLine uid: ${0}, reason: ${1}", uid,
-            (int)reason));
-        AgoraTestVideoNotToken.DestroyVideoView(uid);
-    }
-
-    public override void OnUserInfoUpdated(uint uid, Agora.Rtc.UserInfo info)
-    {
-        _videoSample.Log.UpdateLog(string.Format(" 用户 :${0}  加入房间", uid));
-
-        AgoraTestVideoNotToken.OnUserInfoUpdated(uid, info);
-    }
-   
-
-    public override void OnUplinkNetworkInfoUpdated(UplinkNetworkInfo info)
-    {
-        _videoSample.Log.UpdateLog("OnUplinkNetworkInfoUpdated");
-    }
-
-    public override void OnDownlinkNetworkInfoUpdated(DownlinkNetworkInfo info)
-    {
-        _videoSample.Log.UpdateLog("OnDownlinkNetworkInfoUpdated");
-    }
-}
-
-#endregion

+ 0 - 11
Assets/AgoraTestVideoNotToken.cs.meta

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

+ 0 - 573
Assets/AgoraVideoAudioManager.cs

@@ -1,573 +0,0 @@
-//using Agora.Rtc;
-//using Agora.Util;
-//using SC.XR.Unity;
-//using System.Collections;
-//using System.Collections.Generic;
-//using UnityEngine;
-//using UnityEngine.Serialization;
-//using UnityEngine.UI;
-//using XRTool.Util;
-//using Logger = Agora.Util.Logger;
-
-//public class AgoraVideoAudioManager : SingletonMono<AgoraVideoAudioManager>
-//{
-//    [FormerlySerializedAs("appIdInput")]
-//    [SerializeField]
-//    private AppIdInput _appIdInput;
-
-//    [Header("_____________Basic Configuration_____________")]
-//    [FormerlySerializedAs("APP_ID")]
-//    [SerializeField]
-//    private string _appID = "";
-
-//    [FormerlySerializedAs("TOKEN")]
-//    [SerializeField]
-//    private string _token = "";
-
-//    [FormerlySerializedAs("CHANNEL_NAME")]
-//    [SerializeField]
-//    private string _channelName = "";
-
-//    internal IRtcEngine RtcEngine = null;
-
-//    internal Logger Log;
-
-//    private bool isAudio;
-//    private bool isVideo;
-
-//    //private static List<Agora.Rtc.UserInfo> list_UserInfo;
-//    private Dictionary<string, uint> dicPeeridAndUid;
-//    public Text LogText;
-
-//    private bool isRoom;
-//    private CustomPeer MyPeer;
-//    public uint uid;
-//    public string userAccount;
-//  //  private Dictionary<string, RawImage> list_ShowView;
-    
-//    public MenuIcon menuIcon;
-
-//    public bool isSwitchCamera;
-//    // Use this for initialization
-
-    
-
-//    private void Start()
-//    {
-//        LoadAssetData();
-//        if (CheckAppId())
-//        {
-//            InitEngine();
-//        }
-
-//        dicPeeridAndUid = new Dictionary<string, uint>();
-//        isRoom = false;
-//        isSwitchCamera = false;
-//    }
-
-//    // Update is called once per frame
-//    private void Update()
-//    {
-//        PermissionHelper.RequestMicrophontPermission();
-//        PermissionHelper.RequestCameraPermission();
-   
-//    }
-
-//    //Show data in AgoraBasicProfile
-//    [ContextMenu("ShowAgoraBasicProfileData")]
-//    private void LoadAssetData()
-//    {
-//        if (_appIdInput == null) return;
-//        _appID = _appIdInput.appID;
-//        _token = _appIdInput.token;
-//        _channelName = _appIdInput.channelName;
-//    }
-
-
-//    private bool CheckAppId()
-//    {
-//        Log = new Logger(LogText);
-//        return Log.DebugAssert(_appID.Length > 10, "Please fill in your appId in API-Example/profile/appIdInput.asset");
-//    }
-
-//    private void InitEngine()
-//    {
-       
-//        RtcEngine = Agora.Rtc.RtcEngine.CreateAgoraRtcEngine();
-       
-//        AgoraVideoManagerHandler handler = new AgoraVideoManagerHandler(this);
-//        RtcEngineContext context = new RtcEngineContext(_appID, 0,
-//                                    CHANNEL_PROFILE_TYPE.CHANNEL_PROFILE_COMMUNICATION,
-//                                    AUDIO_SCENARIO_TYPE.AUDIO_SCENARIO_DEFAULT);
-//        RtcEngine.Initialize(context);
-//        RtcEngine.InitEventHandler(handler);
-
-        
-//    }
-
-//    public void RegisterLocalUserAccount(string peerId)
-//    {
-//        RtcEngine.RegisterLocalUserAccount(_appID, peerId);
-//    }
-
-//    public void SetChinnelName(string roomid)
-//    {
-//        _channelName = roomid;
-//    }
-
-//    public void JoinChannel( )
-//    {
-//        Debug.Log("  JoinChannel  " + _channelName);
-//        RtcEngine.EnableAudio();
-//        RtcEngine.EnableVideo();
-
-//       // RtcEngine.DisableAudio();
-//       //  RtcEngine.DisableVideo();
-//        VideoEncoderConfiguration config = new VideoEncoderConfiguration();
-//        config.dimensions = new VideoDimensions(1280, 720);
-//        config.frameRate = 15;
-//        config.bitrate = 0;
-//        RtcEngine.SetVideoEncoderConfiguration(config);
-//        RtcEngine.SetChannelProfile(CHANNEL_PROFILE_TYPE.CHANNEL_PROFILE_COMMUNICATION);
-//        RtcEngine.SetClientRole(CLIENT_ROLE_TYPE.CLIENT_ROLE_BROADCASTER);
-//        // _channelName = roomid;
-        
-//        RtcEngine.JoinChannel(_token, _channelName,"", uid);
-
-//        //RtcEngine.MuteLocalVideoStream(false);
-//        //RtcEngine.MuteLocalAudioStream(false);
-//        //RtcEngine.MuteAllRemoteAudioStreams(true);
-//        //RtcEngine.MuteAllRemoteVideoStreams(true);
-//        isRoom = true;
-
-//        //if(!isSwitchCamera)
-//        //{
-//        //    RtcEngine.SwitchCamera();
-//        //    isSwitchCamera = !isSwitchCamera;
-//        //}
-
-//        StartCoroutine(InitVideoAndAduio(1f));
-//    }
-//    private IEnumerator InitVideoAndAduio(float times)
-//    {
-//        yield return new WaitForSeconds(times);
-
-//        EnableLocalVideo(CustomInfo.isSendVideo);
-//        EnableLoacalAudio(CustomInfo.isSendAudio);
-//        MyPeer.isAudio = true;
-//        MyPeer.isVideo = true;
-
-//    }
-
-//    public void OpenAgoraAudio()
-//    {
-//        Debug.Log(" 打开   OpenAgoraAudio ");
-//       // RtcEngine.SwitchCamera();
-//        //RtcEngine.MuteAllRemoteAudioStreams(false);
-//        //RtcEngine.MuteAllRemoteVideoStreams(false);
-//        //   RtcEngine.EnableAudio();
-//    }
-
-//    private IEnumerator CloseChannel( float times)
-//    {
-//        yield return new WaitForSeconds(times);
-//        LeaveChannel();
-//    }
-
-//    public void LeaveChannel()
-//    {
-//        Debug.Log("LeaveChannel "  ); 
-//        int msg = RtcEngine.LeaveChannel();
-//        switch (msg)
-//        {
-//            case 0:
-//                LogText.text = "成功退出频道: " + _channelName;
-//                break;
-//            default:
-//                LogText.text = "退出频道失败: " + msg;
-//                break;
-//        }
-//        isRoom = false;
-//        MyPeer = null;
-//        dicPeeridAndUid.Clear();
-//        dicPeeridAndUid = new Dictionary<string, uint>();
-//        //list_ShowView.Clear();
-//        //list_ShowView = new Dictionary<string, RawImage>();
-//    }
-
-//    public void VuforiaLeaveChannel()
-//    {
-//        int msg = RtcEngine.LeaveChannel();
-//        switch (msg)
-//        {
-//            case 0:
-//                LogText.text = "成功退出频道: " + _channelName;
-//                break;
-//            default:
-//                LogText.text = "退出频道失败: " + msg;
-//                break;
-//        }
-//    }
-
-//    public void AddPeeridUid(string peerid, uint uid)
-//    {
-//        Debug.Log(" AddPeeridUid " + peerid + "   " + uid);
-
-//        if (dicPeeridAndUid.ContainsKey(peerid))
-//            return;
-//        dicPeeridAndUid.Add(peerid, uid);
-//    }
-
-//    public void RemAtPeeridUid(string peerid)
-//    {
-//        Debug.Log(" RemAtPeeridUid " + peerid + "   " + uid);
-//        dicPeeridAndUid.Remove(peerid);
-//    }
-
-//    //public void RemAtListShowView(string peerId)
-//    //{
-//    //    if (list_ShowView.ContainsKey(peerId))
-//    //        list_ShowView.Remove(peerId);
-//    //}
-
-//    public void AddListShowView( string peerId, RawImage rawImage)
-//    {
-//        if (peerId == CommonMethod.MyPeer.PeerId)
-//        {
-//            rawImage.gameObject.SetActive(true);
-//            rawImage.rectTransform.localEulerAngles += new Vector3(0, 180, 180);
-//            MakeVideoView(0, rawImage);
-//        }
-            
-
-//        if (peerId == CommonMethod.MyPeer.PeerId && !dicPeeridAndUid.ContainsKey(peerId))
-//            return;
-//         Debug.Log(" AddListShowView " + peerId);
-//      //  list_ShowView.Add(peerId, rawImage);
-//        rawImage.gameObject.SetActive(true);
-//        rawImage.rectTransform.localEulerAngles += new Vector3(0, 180, 180);
-
-//        MakeVideoView(dicPeeridAndUid[peerId], rawImage, this._channelName);
-       
-//        //for (int i = 0; i < list_UserInfo.Count; i++)
-//        //{
-//        //    if(list_UserInfo[i].userAccount == peerId)
-//        //    {
-//        //        Debug.Log(" 查找到 ");
-//        //        MakeVideoView(list_UserInfo[i].uid,  rawImage,this._channelName );
-//        //        return;
-//        //    }
-//        //}
-//        //Debug.Log(" 未找到UID  ");
-
-//        //for (int i = 0; i < list_UserInfo.Count; i++)
-//        //{
-//        //    Debug.Log(list_UserInfo[i].uid + "   " + list_UserInfo[i].userAccount);
-//        //}
-//    }
-
-//    public void EnableLoacalAudio( bool isAudio)
-//    {
-//        int msg = RtcEngine.MuteLocalAudioStream(!isAudio);
-
-//      //  int msg = RtcEngine.EnableLocalAudio(isAudio);
-//        switch (msg)
-//        {
-//            case 0:
-//                Debug.Log( isAudio ? "打开本地音频成功" : "关闭本地音频成功 ");
-//                break;
-//            default:
-//                Debug.LogError("开关本地音频失败: " + msg);
-//                break;
-//        }
-//    }
-
-//    public void MuteRemoteAudioStream( string peerid , bool isAudio)
-//    {
-//        if (!dicPeeridAndUid.ContainsKey(peerid))
-//            return;
-//        int msg = RtcEngine.MuteRemoteAudioStream(dicPeeridAndUid[peerid], isAudio);
-
-//        switch (msg)
-//        {
-//            case 0:
-//               Debug.Log( isAudio ? "订阅远端音频成功" : "取订远端音频成功 ");
-//                break;
-//            default:
-//                Debug.LogError( "开关本地音频失败: " + msg);
-//                break;
-//        }
-//    }
-
-//    public void EnableLocalVideo( bool isVideo)
-//    {
-//        //int msg = RtcEngine.MuteLocalVideoStream(!isVideo);
-//        //RtcEngine.EnableVideo();
-//        int msg = RtcEngine.EnableLocalVideo(isVideo);
-//        switch (msg)
-//        {
-//            case 0:
-//                Debug.Log( isVideo ? "打开本地视频成功 " : "关闭本地视频成功 ");
-//                break;
-//            default:
-//                Debug.LogError( "开关本地视频失败: " + msg);
-//                break;
-//        }
-//    }
-
-//    public void OnClickEnableLocalVideo( bool isVideo)
-//    {
-//        int msg = RtcEngine.EnableLocalVideo(isVideo);
-//        switch (msg)
-//        {
-//            case 0:
-//                LogText.text = isVideo ? "打开本地视频成功 " : "关闭本地视频成功 ";
-//                break;
-//            default:
-//                LogText.text = "开关本地视频失败: " + msg;
-//                break;
-//        }
-//    }
-
-
-//    private void StopPublish()
-//    {
-//        var options = new ChannelMediaOptions();
-//        options.publishMicrophoneTrack.SetValue(false);
-//        options.publishCameraTrack.SetValue(false);
-//        var nRet = RtcEngine.UpdateChannelMediaOptions(options);
-//        this.Log.UpdateLog("UpdateChannelMediaOptions: " + nRet);  
-//    }
-
-//    private void StartPublish()
-//    {
-//        var options = new ChannelMediaOptions();
-//        options.publishMicrophoneTrack.SetValue(true);
-//        options.publishCameraTrack.SetValue(true);
-//        var nRet = RtcEngine.UpdateChannelMediaOptions(options);
-//        this.Log.UpdateLog("UpdateChannelMediaOptions: " + nRet); 
-//    }
-
-//    private void OnDestroy()
-//    {
-//        Debug.Log("OnDestroy");
-//        if (RtcEngine == null) return;
-//        RtcEngine.InitEventHandler(null);
-//        RtcEngine.LeaveChannel();
-//        RtcEngine.Dispose();
-//    }
-
-//    internal static void MakeVideoView(uint uid, RawImage rawImage, string channelId = "")
-//    {
-//        Debug.Log("MakeVideoView   " + uid);
-//        //var go = GameObject.Find(uid.ToString());
-//        //if (!ReferenceEquals(go, null))
-//        //{
-//        //    return; // reuse
-//        //}
-
-//        // create a GameObject and assign to this new user
-//          var videoSurface = MakeImageSurface(rawImage);
-//       // var videoSurface = MakePlaneSurface(uid.ToString());
-//        if (ReferenceEquals(videoSurface, null)) return;
-//        // configure videoSurface
-//        if (uid == 0)
-//        {
-//            videoSurface.SetForUser(uid, channelId);
-//        }
-//        else
-//        {
-//            videoSurface.SetForUser(uid, channelId, VIDEO_SOURCE_TYPE.VIDEO_SOURCE_REMOTE);
-//        }
-
-//        //videoSurface.OnTextureSizeModify += (int width, int height) =>
-//        //{
-//        //    float scale = (float)height / (float)width;
-//        //    videoSurface.transform.localScale = new Vector3(-5, 5 * scale, 1);
-//        //    Debug.Log("OnTextureSizeModify: " + width + "  " + height);
-//        //};
-
-//        videoSurface.SetEnable(true);
-//    }
-
-//    //internal static void OnUserInfoUpdated(uint uid, Agora.Rtc.UserInfo info)
-//    //{
-//    //    Debug.Log(info.uid);
-//    //    disUserPeer_Uid.Add("", info);
-//    //}
-
-//    internal static void OnUserJoined(uint uid)
-//    {
-//       // _videoSample.Log.UpdateLog(string.Format("OnUserJoined uid: ${0} elapsed: ${1}", uid, elapsed));
-//       // Debug.Log(string.Format("OnUserJoined uid: ${0} elapsed: ${1}", uid, elapsed))
-//        Agora.Rtc.UserInfo userInfo = new Agora.Rtc.UserInfo();
-//        AgoraVideoAudioManager.Instance.RtcEngine.GetUserInfoByUid(uid, ref userInfo);
-        
-//    }
-//    #region -- Video Render UI Logic ---
-
-//    // VIDEO TYPE 1: 3D Object
-//    private static VideoSurface MakePlaneSurface(string goName)
-//    {
-//        var go = GameObject.CreatePrimitive(PrimitiveType.Quad);
-
-//        //for (int i = 0; i < list_UserInfo.Count; i++)
-//        //{
-//        //    if (list_UserInfo[i].uid.ToString() == goName)
-//        //    {
-//        //        string userAccount = list_UserInfo[i].userAccount;
-//        //        if (AgoraVideoAudioManager.Instance.list_ShowView.ContainsKey(list_UserInfo[i].userAccount))
-//        //        {
-//        //            go = AgoraVideoAudioManager.Instance.list_ShowView[list_UserInfo[i].userAccount].gameObject;
-//        //        }
-//        //        else
-//        //            Debug.LogError("  Agora ShowView is NULL ");
-//        //    }
-//        //}
-
-//        if (go == null)
-//        {
-//            go = GameObject.CreatePrimitive(PrimitiveType.Plane);
-//            return null;
-//        }
-
-//        go.name = goName;
-//        // set up transform
-//        go.transform.Rotate(-90.0f, 0.0f, 0.0f);
-//        var yPos = Random.Range(3.0f, 5.0f);
-//        var xPos = Random.Range(-2.0f, 2.0f);
-//        go.transform.position = Vector3.zero;
-//        go.transform.localScale = new Vector3(0.25f, 0.5f, 0.5f);
-
-//        // configure videoSurface
-//        var videoSurface = go.AddComponent<VideoSurface>();
-//        return videoSurface;
-//    }
-
-//    // Video TYPE 2: RawImage
-//    private static VideoSurface MakeImageSurface(RawImage rawImage)
-//    {
-        
-//        rawImage.gameObject.AddComponent<UIElementDrag>();   
-//        var videoSurface = rawImage.gameObject.AddComponent<VideoSurface>();
-//        return videoSurface;
-//    }
-
-//    internal static void DestroyVideoView(uint uid)
-//    {
-//        var go = GameObject.Find(uid.ToString());
-//        if (!ReferenceEquals(go, null))
-//        {
-//            Destroy(go);
-//        }
-//    }
-
-   
-
-//    internal static void OnUserInfoUpdated(uint uid, Agora.Rtc.UserInfo info)
-//    {
-//        Debug.Log(uid.ToString() + "  " + info.uid + "  " + info.userAccount);
-//     //   list_UserInfo.Add(info);
-        
-//    }
-
-//    internal static void  OnLocalUserRegistered(uint uid, string userAccount)
-//    {
-//        //AgoraVideoAudioManager.Instance.uid = uid;
-//        //AgoraVideoAudioManager.Instance.userAccount = userAccount;
-//    }
-
-//    #endregion
-//}
-
-//#region -- Agora Event ---
-
-//public class AgoraVideoManagerHandler : IRtcEngineEventHandler
-//{
-//    private readonly AgoraVideoAudioManager _videoSample;
-
-//    internal AgoraVideoManagerHandler(AgoraVideoAudioManager videoSample)
-//    {
-//        _videoSample = videoSample;
-//    }
-
-//    public override void OnError(int err, string msg)
-//    {
-//        _videoSample.Log.UpdateLog(string.Format("OnError err: {0}, msg: {1}", err, msg));
-//    }
-
-//    public override void OnJoinChannelSuccess(RtcConnection connection, int elapsed)
-//    {
-//        int build = 0;
-//        Debug.Log("Agora: OnJoinChannelSuccess ");
-//        _videoSample.Log.UpdateLog(string.Format("sdk version: ${0}",
-//            _videoSample.RtcEngine.GetVersion(ref build)));
-//        _videoSample.Log.UpdateLog(string.Format("sdk build: ${0}",
-//          build));
-//        _videoSample.Log.UpdateLog(
-//            string.Format("OnJoinChannelSuccess channelName: {0}, uid: {1}, elapsed: {2}",
-//                            connection.channelId, connection.localUid, elapsed));
-
-//      //  _videoSample.ClickSelf();
-//       // AgoraVideoAudioManager.MakeVideoView(0);
-
-//    }
-
-//    public override void OnRejoinChannelSuccess(RtcConnection connection, int elapsed)
-//    {
-//        _videoSample.Log.UpdateLog("OnRejoinChannelSuccess");
-//    }
-
-//    public override void OnLeaveChannel(RtcConnection connection, RtcStats stats)
-//    {
-//        _videoSample.Log.UpdateLog("OnLeaveChannel");
-//        AgoraVideoAudioManager.DestroyVideoView(0);
-//    }
-
-//    public override void OnClientRoleChanged(RtcConnection connection, CLIENT_ROLE_TYPE oldRole, CLIENT_ROLE_TYPE newRole)
-//    {
-//        _videoSample.Log.UpdateLog("OnClientRoleChanged");
-//    }
-
-//    public override void OnUserJoined(RtcConnection connection, uint uid, int elapsed)
-//    {
-//        Debug.Log(string.Format("OnUserJoined uid: ${0} elapsed: ${1}", uid, elapsed));
-//        _videoSample.Log.UpdateLog(string.Format("OnUserJoined uid: ${0} elapsed: ${1}", uid, elapsed));
-//        AgoraVideoAudioManager.OnUserJoined(uid);
-//     //   AgoraVideoAudioManager.MakeVideoView(uid, _videoSample.GetChannelName());
-//    }
-
-//    public override void OnUserOffline(RtcConnection connection, uint uid, USER_OFFLINE_REASON_TYPE reason)
-//    {
-//        _videoSample.Log.UpdateLog(string.Format("OnUserOffLine uid: ${0}, reason: ${1}", uid,
-//            (int)reason));
-//        AgoraVideoAudioManager.DestroyVideoView(uid);
-//    }
-
-//    public override void OnUserInfoUpdated(uint uid, Agora.Rtc.UserInfo info)
-//    {
-//        _videoSample.Log.UpdateLog(string.Format(" 用户 :${0}  加入房间", uid));
-
-//        AgoraVideoAudioManager.OnUserInfoUpdated(uid, info);
-//    }
-
-
-//    public override void OnUplinkNetworkInfoUpdated(UplinkNetworkInfo info)
-//    {
-//        _videoSample.Log.UpdateLog("OnUplinkNetworkInfoUpdated");
-//    }
-
-//    public override void OnDownlinkNetworkInfoUpdated(DownlinkNetworkInfo info)
-//    {
-//        _videoSample.Log.UpdateLog("OnDownlinkNetworkInfoUpdated");
-//    }
-
-//    public override void OnLocalUserRegistered(uint uid, string userAccount)
-//    {
-//        AgoraVideoAudioManager.OnLocalUserRegistered(uid, userAccount);
-//    }
-
-//}
-
-//#endregion
-

+ 0 - 11
Assets/AgoraVideoAudioManager.cs.meta

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

+ 0 - 20
Assets/AgoraVideoJo.cs

@@ -1,20 +0,0 @@
-using CScript.App;
-using System.Collections;
-using System.Collections.Generic;
-using UnityEngine;
-
-public class AgoraVideoJo : MonoBehaviour
-{
-    private void Awake()
-    {
-        StartCoroutine(JoinChannel(3f));
-    }
-
-    IEnumerator JoinChannel(float times)
-    {
-        yield return new WaitForSeconds(times);
-        AgoraRTCManager.Instance.JoinChannel();
-
-      //  AppManager.Instance.MeshPoint.SetActive(true);
-    }
-}

+ 0 - 11
Assets/AgoraVideoJo.cs.meta

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

BIN
Assets/CScript.zip


+ 0 - 7
Assets/CScript.zip.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 7f394a9d3460f4c4e8343ca2f95726c0
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 2 - 2
Assets/CScript/App/AppManager.cs

@@ -1,4 +1,4 @@
-using System.Collections;
+using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 using CScript.Utilities;
@@ -148,7 +148,7 @@ namespace CScript.App
         private void ConectServerHandler()
         {
            // _server.Init("127.0.0.1", 5555);
-            _server.Init("192.168.50.120", 5555);
+            _server.Init("192.168.50.17", 6666);
             _server.Connect();
         }
         private void ConnectSuccess(bool result, string reason)

+ 4 - 5
Assets/CScript/Net/PackageHandler.cs

@@ -1,4 +1,4 @@
-// RayMix Libs - RayMix's .Net Libs
+// RayMix Libs - RayMix's .Net Libs
 // Copyright 2018 Ray@raymix.net.  All rights reserved.
 // https://www.raymix.net
 //
@@ -70,8 +70,7 @@ namespace CScript.Net
     public class PackageHandler<T>
     {
         //private MemoryStream stream = new MemoryStream(1024*1024*8);
-        // private MemoryStream stream = new MemoryStream(4096000);
-        private MemoryStream stream = new MemoryStream(1024*1024*10);
+        private MemoryStream stream = new MemoryStream(4096000);
         private int readOffset = 0;
         private T sender;
         NetMeshData netMeshData;
@@ -81,8 +80,8 @@ namespace CScript.Net
         //private byte[] _byteBufferArray = new byte[232643];
         int totalByteCount;
         int lostCount;
-        //private MemoryStream _streamDataBuffer = new MemoryStream(409600 * 10);
-        private MemoryStream _streamDataBuffer = new MemoryStream(1024 * 1024 * 10);
+        private MemoryStream _streamDataBuffer = new MemoryStream(409600 * 10);
+        
         private bool _start = false;
         string packageTypeStr = string.Empty;
         Mat rgbMat;

+ 1 - 1
Assets/CScript/Net/Server.cs

@@ -1,4 +1,4 @@
-using System.Collections;
+using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 using CScript.Utilities;

+ 0 - 8
Assets/Editor/Migration.meta

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

+ 0 - 477
Assets/Editor/Migration/AddVuforiaEnginePackage.cs

@@ -1,477 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.IO;
-using System.Linq;
-using System.Text;
-using System.Text.RegularExpressions;
-using UnityEditor;
-using UnityEngine;
-
-[InitializeOnLoad]
-public class AddVuforiaEnginePackage
-{
-    static readonly string sPackagesPath = Path.Combine(Application.dataPath, "..", "Packages");
-    static readonly string sManifestJsonPath = Path.Combine(sPackagesPath, "manifest.json");
-    const string VUFORIA_VERSION = "10.13.3";
-    const string VUFORIA_TAR_FILE_DIR = "Assets/Editor/Migration/";
-    const string DEPENDENCIES_DIR = "Assets/Resources/VuforiaDependencies";
-    const string PACKAGES_RELATIVE_PATH = "Packages";
-    const string MRTK_PACKAGE = "com.microsoft.mixedreality.toolkit.foundation";
-
-    static readonly ScopedRegistry sVuforiaRegistry = new ScopedRegistry
-    {
-        name = "Vuforia",
-        url = "https://registry.packages.developer.vuforia.com/",
-        scopes = new[] { "com.ptc.vuforia" }
-    };
-
-    static AddVuforiaEnginePackage()
-    {
-        if (Application.isBatchMode)
-            return;
-        
-        var manifest = Manifest.JsonDeserialize(sManifestJsonPath);
-
-        var packages = GetPackageDescriptions();
-            
-        if (!packages.All(p => IsVuforiaUpToDate(manifest, p.BundleId)))
-            DisplayAddPackageDialog(manifest, packages);
-        
-        ResolveDependencies(manifest);
-    }
-
-    public static void ResolveDependenciesSilent()
-    {
-        var manifest = Manifest.JsonDeserialize(sManifestJsonPath);
-        
-        var packages = GetDependencyDescriptions();
-        if (packages != null && packages.Count > 0)
-            MoveDependencies(manifest, packages);
-        
-        CleanupDependenciesFolder();
-    }
-    
-    static void ResolveDependencies(Manifest manifest)
-    {
-        var packages = GetDependencyDescriptions();
-        if (packages != null && packages.Count > 0)
-            DisplayDependenciesDialog(manifest, packages);
-    }
-    
-    static bool IsVuforiaUpToDate(Manifest manifest, string bundleId)
-    {
-        var dependencies = manifest.Dependencies.Split(',').ToList();
-        var upToDate = false;
-
-        if(dependencies.Any(d => d.Contains(bundleId) && d.Contains("file:")))
-            upToDate = IsUsingRightFileVersion(manifest, bundleId);
-
-        return upToDate;
-    }
-    
-    static bool IsUsingRightFileVersion(Manifest manifest, string bundleId)
-    {
-        var dependencies = manifest.Dependencies.Split(',').ToList();
-        return dependencies.Any(d => d.Contains(bundleId) && d.Contains("file:") && VersionNumberIsTheLatestTarball(d));
-    }
-
-    static bool VersionNumberIsTheLatestTarball(string package)
-    {
-        var version = package.Split('-');
-        if (version.Length >= 2)
-        {
-            version[1] = version[1].TrimEnd(".tgz\"".ToCharArray());
-            return IsCurrentVersionHigher(version[1]);
-        }
-
-        return false;
-    }
-
-    static bool IsCurrentVersionHigher(string currentVersionString)
-    {
-        if (string.IsNullOrEmpty(currentVersionString) || string.IsNullOrEmpty(VUFORIA_VERSION))
-            return false;
-
-        var currentVersion = TryConvertStringToVersion(currentVersionString);
-        var updatingVersion = TryConvertStringToVersion(VUFORIA_VERSION);
-        
-        if (currentVersion >= updatingVersion)
-            return true;
-
-        return false;
-    }
-
-    static Version TryConvertStringToVersion(string versionString)
-    {
-        Version res;
-        try
-        {
-            res = new Version(versionString);
-        }
-        catch (Exception)
-        {
-            return new Version();
-        }
-
-        return new Version(res.Major, res.Minor, res.Build);
-    }
-
-    static void DisplayAddPackageDialog(Manifest manifest, IEnumerable<PackageDescription> packages)
-    {
-        if (EditorUtility.DisplayDialog("Add Vuforia Engine Package",
-            $"Would you like to update your project to include the Vuforia Engine {VUFORIA_VERSION} package from the unitypackage?\n" +
-            $"If an older Vuforia Engine package is already present in your project it will be upgraded to version {VUFORIA_VERSION}\n\n",
-            "Update", "Cancel"))
-        {
-            foreach (var package in packages)
-            {
-                MovePackageFile(VUFORIA_TAR_FILE_DIR, package.FileName);
-                UpdateManifest(manifest, package.BundleId, package.FileName);
-            }
-        }
-    }
-    
-    static void DisplayDependenciesDialog(Manifest manifest, IEnumerable<PackageDescription> packages)
-    {
-        if (EditorUtility.DisplayDialog("Add Sample Dependencies",
-                                        "Would you like to update your project to include all of its dependencies?\n" +
-                                        "If a different version of the package is already present, it will be deleted.\n\n",
-                                        "Update", "Cancel"))
-        {
-            MoveDependencies(manifest, packages);
-            CleanupDependenciesFolder();
-            if (ShouldProjectRestart(packages))
-                DisplayRestartDialog();
-        }
-    }
-
-    static void DisplayRestartDialog()
-    {
-        if (EditorUtility.DisplayDialog("Restart Unity Editor",
-                                        "Due to a Unity lifecycle issue, this project needs to be closed and re-opened " +
-                                        "after importing this Vuforia Engine sample.\n\n",
-                                        "Restart", "Cancel"))
-        {
-            RestartEditor();
-        }
-    }
-
-    static List<PackageDescription> GetPackageDescriptions()
-    {
-        var tarFilePaths = Directory.GetFiles(Path.Combine(Directory.GetCurrentDirectory(), VUFORIA_TAR_FILE_DIR)).Where(f => f.EndsWith(".tgz"));
-
-        // Define a regular expression for repeated words.
-        var rx = new Regex(@"(([a-z]+)(\.[a-z]+)*)\-((\d+)\.(\d+)\.(\d+))", RegexOptions.Compiled | RegexOptions.IgnoreCase);
-
-        var packageDescriptions = new List<PackageDescription>();
-
-        foreach (var filePath in tarFilePaths)
-        {
-            var fileName = Path.GetFileName(filePath);
-            // Find matches.
-            var matches = rx.Matches(fileName);
-
-            // Report on each match.
-            foreach (Match match in matches)
-            {
-                var groups = match.Groups;
-                var bundleId = groups[1].Value;
-                var versionString = groups[4].Value;
-
-                if (string.Equals(versionString, VUFORIA_VERSION))
-                {
-                    packageDescriptions.Add(new PackageDescription()
-                    {
-                        BundleId = bundleId,
-                        FileName = fileName
-                    });
-                }
-            }
-        }
-
-        return packageDescriptions;
-    }
-    
-    static List<PackageDescription> GetDependencyDescriptions()
-    {
-        var dependencyDirectory = Path.Combine(Directory.GetCurrentDirectory(), DEPENDENCIES_DIR);
-        if (!Directory.Exists(dependencyDirectory))
-            return null;
-        var tarFilePaths = Directory.GetFiles(dependencyDirectory).Where(f => f.EndsWith(".tgz"));
-
-        // Define a regular expression for repeated words.
-        var rx = new Regex(@"(([a-z]+)(\.[a-z]+)+)(\-((\d+)\.(\d+)\.(\d+)))*", RegexOptions.Compiled | RegexOptions.IgnoreCase);
-
-        var packageDescriptions = new List<PackageDescription>();
-
-        foreach (var filePath in tarFilePaths)
-        {
-            var fileName = Path.GetFileName(filePath);
-            // Find matches.
-            var matches = rx.Matches(fileName);
-
-            // Report on each match.
-            foreach (Match match in matches)
-            {
-                var groups = match.Groups;
-                var bundleId = groups[1].Value;
-                bundleId = bundleId.Replace(".tgz", "");
-
-                packageDescriptions.Add(new PackageDescription
-                                        {
-                                            BundleId = bundleId,
-                                            FileName = fileName
-                                        });
-            }
-        }
-
-        return packageDescriptions;
-    }
-
-    static void MoveDependencies(Manifest manifest, IEnumerable<PackageDescription> packages)
-    {
-        foreach (var package in packages)
-        {
-            RemoveDependency(manifest, package.BundleId, package.FileName);
-            MovePackageFile(DEPENDENCIES_DIR, package.FileName);
-            UpdateManifest(manifest, package.BundleId, package.FileName);
-        }
-    }
-    
-    static void MovePackageFile(string folder, string fileName)
-    {
-        var sourceFile = Path.Combine(Directory.GetCurrentDirectory(), folder, fileName);
-        var destFile = Path.Combine(Directory.GetCurrentDirectory(), PACKAGES_RELATIVE_PATH, fileName);
-        File.Copy(sourceFile, destFile, true);
-        File.Delete(sourceFile);
-        File.Delete(sourceFile + ".meta");
-    }
-
-    static void UpdateManifest(Manifest manifest, string bundleId, string fileName)
-    {
-        //remove existing, outdated NPM scoped registry if present
-        var registries = manifest.ScopedRegistries.ToList();
-        if (registries.Contains(sVuforiaRegistry))
-        {
-            registries.Remove(sVuforiaRegistry);
-            manifest.ScopedRegistries = registries.ToArray();
-        }
-
-        //add specified vuforia version via Git URL
-        SetVuforiaVersion(manifest, bundleId, fileName);
-
-        manifest.JsonSerialize(sManifestJsonPath);
-
-        AssetDatabase.Refresh();
-    }
-
-    static void RemoveDependency(Manifest manifest, string bundleId, string fileName)
-    {
-        var destFile = Path.Combine(Directory.GetCurrentDirectory(), PACKAGES_RELATIVE_PATH, fileName);
-        if (File.Exists(destFile))
-            File.Delete(destFile);
-        
-        // remove existing
-        var dependencies = manifest.Dependencies.Split(',').ToList();
-        for (var i = 0; i < dependencies.Count; i++)
-        {
-            if (dependencies[i].Contains(bundleId))
-            {
-                dependencies.RemoveAt(i);
-                break;
-            }
-        }
-
-        manifest.Dependencies = string.Join(",", dependencies);
-
-        manifest.JsonSerialize(sManifestJsonPath);
-
-        AssetDatabase.Refresh();
-    }
-
-    static void CleanupDependenciesFolder()
-    {
-        if (!Directory.Exists(DEPENDENCIES_DIR)) 
-            return;
-        
-        Directory.Delete(DEPENDENCIES_DIR);
-        File.Delete(DEPENDENCIES_DIR + ".meta");
-        AssetDatabase.Refresh();
-    }
-
-    static bool ShouldProjectRestart(IEnumerable<PackageDescription> packages)
-    {
-        return packages.Any(p => p.BundleId == MRTK_PACKAGE);
-    }
-
-    static void RestartEditor()
-    {
-        EditorApplication.OpenProject(Directory.GetCurrentDirectory());
-    }
-
-    static void SetVuforiaVersion(Manifest manifest, string bundleId, string fileName)
-    {
-        var dependencies = manifest.Dependencies.Split(',').ToList();
-
-        var versionEntry = $"\"file:{fileName}\"";
-        var versionSet = false;
-        for (var i = 0; i < dependencies.Count; i++)
-        {
-            if (!dependencies[i].Contains(bundleId))
-                continue;
-
-            var kvp = dependencies[i].Split(':');
-            dependencies[i] = kvp[0] + ": " + versionEntry;
-            versionSet = true;
-        }
-
-        if (!versionSet)
-            dependencies.Insert(0, $"\n    \"{bundleId}\": {versionEntry}");
-
-        manifest.Dependencies = string.Join(",", dependencies);
-    }
-
-    class Manifest
-    {
-        const int INDEX_NOT_FOUND = -1;
-        const string DEPENDENCIES_KEY = "\"dependencies\"";
-
-        public ScopedRegistry[] ScopedRegistries;
-        public string Dependencies;
-
-        public void JsonSerialize(string path)
-        {
-            var jsonString = GetJsonString();
-
-            var startIndex = GetDependenciesStart(jsonString);
-            var endIndex = GetDependenciesEnd(jsonString, startIndex);
-
-            var stringBuilder = new StringBuilder();
-
-            stringBuilder.Append(jsonString.Substring(0, startIndex));
-            stringBuilder.Append(Dependencies);
-            stringBuilder.Append(jsonString.Substring(endIndex, jsonString.Length - endIndex));
-
-            File.WriteAllText(path, stringBuilder.ToString());
-        }
-
-        string GetJsonString()
-        {
-            if (ScopedRegistries.Length > 0)
-                return JsonUtility.ToJson(
-                    new UnitySerializableManifest { scopedRegistries = ScopedRegistries, dependencies = new DependencyPlaceholder() },
-                    true);
-
-            return JsonUtility.ToJson(
-                new UnitySerializableManifestDependenciesOnly() { dependencies = new DependencyPlaceholder() },
-                true);
-        }
-
-
-        public static Manifest JsonDeserialize(string path)
-        {
-            var jsonString = File.ReadAllText(path);
-
-            var registries = JsonUtility.FromJson<UnitySerializableManifest>(jsonString).scopedRegistries ?? new ScopedRegistry[0];
-            var dependencies = DeserializeDependencies(jsonString);
-
-            return new Manifest { ScopedRegistries = registries, Dependencies = dependencies };
-        }
-
-        static string DeserializeDependencies(string json)
-        {
-            var startIndex = GetDependenciesStart(json);
-            var endIndex = GetDependenciesEnd(json, startIndex);
-
-            if (startIndex == INDEX_NOT_FOUND || endIndex == INDEX_NOT_FOUND)
-                return null;
-
-            var dependencies = json.Substring(startIndex, endIndex - startIndex);
-            return dependencies;
-        }
-
-        static int GetDependenciesStart(string json)
-        {
-            var dependenciesIndex = json.IndexOf(DEPENDENCIES_KEY, StringComparison.InvariantCulture);
-            if (dependenciesIndex == INDEX_NOT_FOUND)
-                return INDEX_NOT_FOUND;
-
-            var dependenciesStartIndex = json.IndexOf('{', dependenciesIndex + DEPENDENCIES_KEY.Length);
-
-            if (dependenciesStartIndex == INDEX_NOT_FOUND)
-                return INDEX_NOT_FOUND;
-
-            dependenciesStartIndex++; //add length of '{' to starting point
-
-            return dependenciesStartIndex;
-        }
-
-        static int GetDependenciesEnd(string jsonString, int dependenciesStartIndex)
-        {
-            return jsonString.IndexOf('}', dependenciesStartIndex);
-        }
-    }
-
-    class UnitySerializableManifestDependenciesOnly
-    {
-        public DependencyPlaceholder dependencies;
-    }
-
-    class UnitySerializableManifest
-    {
-        public ScopedRegistry[] scopedRegistries;
-        public DependencyPlaceholder dependencies;
-    }
-
-    [Serializable]
-    struct ScopedRegistry
-    {
-        public string name;
-        public string url;
-        public string[] scopes;
-
-        public override bool Equals(object obj)
-        {
-            if (!(obj is ScopedRegistry))
-                return false;
-
-            var other = (ScopedRegistry)obj;
-
-            return name == other.name &&
-                   url == other.url &&
-                   scopes.SequenceEqual(other.scopes);
-        }
-
-        public static bool operator ==(ScopedRegistry a, ScopedRegistry b)
-        {
-            return a.Equals(b);
-        }
-
-        public static bool operator !=(ScopedRegistry a, ScopedRegistry b)
-        {
-            return !a.Equals(b);
-        }
-
-        public override int GetHashCode()
-        {
-            var hash = 17;
-
-            foreach (var scope in scopes)
-                hash = hash * 23 + (scope == null ? 0 : scope.GetHashCode());
-
-            hash = hash * 23 + (name == null ? 0 : name.GetHashCode());
-            hash = hash * 23 + (url == null ? 0 : url.GetHashCode());
-
-            return hash;
-        }
-    }
-
-    [Serializable]
-    struct DependencyPlaceholder { }
-    
-    struct PackageDescription
-    {
-        public string BundleId;
-        public string FileName;
-    }
-}

+ 0 - 11
Assets/Editor/Migration/AddVuforiaEnginePackage.cs.meta

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

BIN
Assets/Editor/Migration/com.ptc.vuforia.engine-10.10.2.tgz


+ 0 - 7
Assets/Editor/Migration/com.ptc.vuforia.engine-10.10.2.tgz.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: cbab13da953c3a6498ee3256fde40aac
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/Editor/Migration/com.ptc.vuforia.engine-10.12.3.tgz


+ 0 - 7
Assets/Editor/Migration/com.ptc.vuforia.engine-10.12.3.tgz.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 201c8bc32d4d54847875652d21c98d98
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

BIN
Assets/Editor/Migration/com.ptc.vuforia.engine-10.13.3.tgz


+ 0 - 7
Assets/Editor/Migration/com.ptc.vuforia.engine-10.13.3.tgz.meta

@@ -1,7 +0,0 @@
-fileFormatVersion: 2
-guid: 5ab5c3e124e8941dc80ee787952930a4
-DefaultImporter:
-  externalObjects: {}
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials.meta

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

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/0.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 0
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: bfe38b84420ef43de8a1f0e28acc2714, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/0.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: d97a2cfdbbcfe4247b37b0b7dab69ebb
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/1.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 1
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: 7e5a4c1aeaad54db0a7312f8917cbf4d, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/1.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: e6ce9a610f4c64735bbb5e3df38baf1c
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/10.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 10
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: b1030de1f231b4e8085c009713e16677, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/10.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 2452d8c6849aa4a96b599c81cebd10d9
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/100.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 100
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: b2e1d24aee81346cca613e494ac6ff64, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/100.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 020a264208d724d59a621088ad6d4fce
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/101.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 101
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: 7e5a4c1aeaad54db0a7312f8917cbf4d, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/101.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 8b56d82c8836543d3b3279e36a628e76
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/102.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 102
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: b2e1d24aee81346cca613e494ac6ff64, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/102.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 3c8f0761c93f245e8afb6cfc4d637492
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/103.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 103
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: b2e1d24aee81346cca613e494ac6ff64, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/103.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 12182eb11c2a44782b9067d24d291ada
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/104.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 104
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: 74fc62351d618469a945e1ed9fe61970, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/104.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 3382698922ef14a29bca5dcd9f98bdec
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/105.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 105
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: b2e1d24aee81346cca613e494ac6ff64, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/105.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 0f67b7ea85feb43f4bc0d1d4cf0e14ac
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/106.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 106
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: 74fc62351d618469a945e1ed9fe61970, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/106.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 5cc4728fa47ac46c393d8ac56f78b2c7
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/107.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 107
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: b2e1d24aee81346cca613e494ac6ff64, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/107.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: e3a4a479d135c4d97876132214bc3823
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/108.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 108
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: 6c5c70fe065284e569da16e6b972b38b, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/108.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: d1dca36f530c94a1f8c7177585b6507d
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/109.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 109
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: b2e1d24aee81346cca613e494ac6ff64, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

+ 0 - 8
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/109.mat.meta

@@ -1,8 +0,0 @@
-fileFormatVersion: 2
-guid: 28976dd96426f473dba037ac3dbd3fa3
-NativeFormatImporter:
-  externalObjects: {}
-  mainObjectFileID: 2100000
-  userData: 
-  assetBundleName: 
-  assetBundleVariant: 

+ 0 - 28
Assets/Editor/Vuforia/AreaTargetSample/Data/Materials/11.mat

@@ -1,28 +0,0 @@
-%YAML 1.1
-%TAG !u! tag:unity3d.com,2011:
---- !u!21 &2100000
-Material:
-  serializedVersion: 6
-  m_ObjectHideFlags: 0
-  m_CorrespondingSourceObject: {fileID: 0}
-  m_PrefabInstance: {fileID: 0}
-  m_PrefabAsset: {fileID: 0}
-  m_Name: 11
-  m_Shader: {fileID: 10752, guid: 0000000000000000f000000000000000, type: 0}
-  m_ShaderKeywords: 
-  m_LightmapFlags: 4
-  m_EnableInstancingVariants: 0
-  m_DoubleSidedGI: 0
-  m_CustomRenderQueue: -1
-  stringTagMap: {}
-  disabledShaderPasses: []
-  m_SavedProperties:
-    serializedVersion: 3
-    m_TexEnvs:
-    - _MainTex:
-        m_Texture: {fileID: 2800000, guid: 286df31980e7542d9b28c7a7c30b5568, type: 3}
-        m_Scale: {x: 1, y: 1}
-        m_Offset: {x: 0, y: 0}
-    m_Floats: []
-    m_Colors: []
-  m_BuildTextureStacks: []

Some files were not shown because too many files changed in this diff