mirror of
https://github.com/storytold/Azure-Kinect-Sample-for-Unity.git
synced 2026-10-09 00:09:50 +00:00
Modified program for SDK1.4.1 and added Point Cloud Sample
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4af20f4e7af1cd4ebb7a8b782a1998e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,295 +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: 170076734}
|
||||
m_IndirectSpecularColor: {r: 0.44657898, g: 0.4964133, b: 0.5748178, a: 1}
|
||||
m_UseRadianceAmbientProbe: 0
|
||||
--- !u!157 &3
|
||||
LightmapSettings:
|
||||
m_ObjectHideFlags: 0
|
||||
serializedVersion: 11
|
||||
m_GIWorkflowMode: 0
|
||||
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: 10
|
||||
m_Resolution: 2
|
||||
m_BakeResolution: 10
|
||||
m_AtlasSize: 512
|
||||
m_AO: 0
|
||||
m_AOMaxDistance: 1
|
||||
m_CompAOExponent: 1
|
||||
m_CompAOExponentDirect: 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: 256
|
||||
m_PVRBounces: 2
|
||||
m_PVRFilterTypeDirect: 0
|
||||
m_PVRFilterTypeIndirect: 0
|
||||
m_PVRFilterTypeAO: 0
|
||||
m_PVRFilteringMode: 1
|
||||
m_PVRCulling: 1
|
||||
m_PVRFilteringGaussRadiusDirect: 1
|
||||
m_PVRFilteringGaussRadiusIndirect: 5
|
||||
m_PVRFilteringGaussRadiusAO: 2
|
||||
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
|
||||
m_PVRFilteringAtrousPositionSigmaIndirect: 2
|
||||
m_PVRFilteringAtrousPositionSigmaAO: 1
|
||||
m_ShowResolutionOverlay: 1
|
||||
m_LightingDataAsset: {fileID: 0}
|
||||
m_UseShadowmask: 1
|
||||
--- !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
|
||||
debug:
|
||||
m_Flags: 0
|
||||
m_NavMeshData: {fileID: 0}
|
||||
--- !u!1 &170076733
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 170076735}
|
||||
- component: {fileID: 170076734}
|
||||
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 &170076734
|
||||
Light:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 170076733}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 8
|
||||
m_Type: 1
|
||||
m_Color: {r: 1, g: 0.95686275, b: 0.8392157, a: 1}
|
||||
m_Intensity: 1
|
||||
m_Range: 10
|
||||
m_SpotAngle: 30
|
||||
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_Cookie: {fileID: 0}
|
||||
m_DrawHalo: 0
|
||||
m_Flare: {fileID: 0}
|
||||
m_RenderMode: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_Lightmapping: 1
|
||||
m_LightShadowCasterMode: 0
|
||||
m_AreaSize: {x: 1, y: 1}
|
||||
m_BounceIntensity: 1
|
||||
m_ColorTemperature: 6570
|
||||
m_UseColorTemperature: 0
|
||||
m_ShadowRadius: 0
|
||||
m_ShadowAngle: 0
|
||||
--- !u!4 &170076735
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 170076733}
|
||||
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_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 1
|
||||
m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0}
|
||||
--- !u!1 &534669902
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 534669905}
|
||||
- component: {fileID: 534669904}
|
||||
- component: {fileID: 534669903}
|
||||
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 &534669903
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 534669902}
|
||||
m_Enabled: 1
|
||||
--- !u!20 &534669904
|
||||
Camera:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 534669902}
|
||||
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_SensorSize: {x: 36, y: 24}
|
||||
m_LensShift: {x: 0, y: 0}
|
||||
m_GateFitMode: 2
|
||||
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 &534669905
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 534669902}
|
||||
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_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &652584671
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 652584672}
|
||||
m_Layer: 0
|
||||
m_Name: Kinect
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!4 &652584672
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 652584671}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 2
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 80c5e651f41500b4cb7b64082ae4dc59
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -1 +0,0 @@
|
||||
19;0;4;0;0
|
||||
Binary file not shown.
@@ -1,742 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &1
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12004, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_PixelRect:
|
||||
serializedVersion: 2
|
||||
x: 7.3333335
|
||||
y: 50
|
||||
width: 1265
|
||||
height: 703
|
||||
m_ShowMode: 4
|
||||
m_Title:
|
||||
m_RootView: {fileID: 6}
|
||||
m_MinSize: {x: 950, y: 374}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
--- !u!114 &2
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 9}
|
||||
- {fileID: 3}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 30
|
||||
width: 1265
|
||||
height: 653
|
||||
m_MinSize: {x: 679, y: 324}
|
||||
m_MaxSize: {x: 12004, y: 8024}
|
||||
vertical: 0
|
||||
controlID: 49
|
||||
--- !u!114 &3
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 862
|
||||
y: 0
|
||||
width: 403
|
||||
height: 653
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_ActualView: {fileID: 15}
|
||||
m_Panes:
|
||||
- {fileID: 15}
|
||||
- {fileID: 12}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 1
|
||||
--- !u!114 &4
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 214
|
||||
height: 379
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_ActualView: {fileID: 16}
|
||||
m_Panes:
|
||||
- {fileID: 16}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &5
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 379
|
||||
width: 862
|
||||
height: 274
|
||||
m_MinSize: {x: 100, y: 100}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_ActualView: {fileID: 19}
|
||||
m_Panes:
|
||||
- {fileID: 14}
|
||||
- {fileID: 19}
|
||||
m_Selected: 1
|
||||
m_LastSelected: 0
|
||||
--- !u!114 &6
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12008, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 7}
|
||||
- {fileID: 2}
|
||||
- {fileID: 8}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1265
|
||||
height: 703
|
||||
m_MinSize: {x: 950, y: 374}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
--- !u!114 &7
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12011, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1265
|
||||
height: 30
|
||||
m_MinSize: {x: 0, y: 0}
|
||||
m_MaxSize: {x: 0, y: 0}
|
||||
m_LastLoadedLayoutName:
|
||||
--- !u!114 &8
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12042, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 683
|
||||
width: 1265
|
||||
height: 20
|
||||
m_MinSize: {x: 0, y: 0}
|
||||
m_MaxSize: {x: 0, y: 0}
|
||||
--- !u!114 &9
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 10}
|
||||
- {fileID: 5}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 862
|
||||
height: 653
|
||||
m_MinSize: {x: 404, y: 324}
|
||||
m_MaxSize: {x: 8004, y: 8024}
|
||||
vertical: 1
|
||||
controlID: 50
|
||||
--- !u!114 &10
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12010, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children:
|
||||
- {fileID: 4}
|
||||
- {fileID: 11}
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 862
|
||||
height: 379
|
||||
m_MinSize: {x: 404, y: 224}
|
||||
m_MaxSize: {x: 8004, y: 4024}
|
||||
vertical: 0
|
||||
controlID: 51
|
||||
--- !u!114 &11
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12006, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Children: []
|
||||
m_Position:
|
||||
serializedVersion: 2
|
||||
x: 214
|
||||
y: 0
|
||||
width: 648
|
||||
height: 379
|
||||
m_MinSize: {x: 204, y: 224}
|
||||
m_MaxSize: {x: 4004, y: 4024}
|
||||
m_ActualView: {fileID: 17}
|
||||
m_Panes:
|
||||
- {fileID: 17}
|
||||
- {fileID: 18}
|
||||
- {fileID: 13}
|
||||
m_Selected: 0
|
||||
m_LastSelected: 1
|
||||
--- !u!114 &12
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12157, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Services
|
||||
m_Image: {fileID: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 1755
|
||||
y: 112
|
||||
width: 605
|
||||
height: 910
|
||||
m_PersistentViewDataDictionary: {fileID: 0}
|
||||
m_InitialOpenURL: https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub
|
||||
m_GlobalObjectTypeName:
|
||||
m_RegisteredViewURLs:
|
||||
- https://public-cdn.cloud.unity3d.com/editor/production/cloud/hub
|
||||
m_RegisteredViewInstances:
|
||||
- {fileID: 0}
|
||||
--- !u!114 &13
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12111, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 400, y: 100}
|
||||
m_MaxSize: {x: 2048, y: 2048}
|
||||
m_TitleContent:
|
||||
m_Text: Asset Store
|
||||
m_Image: {fileID: 357073275683767465, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 468
|
||||
y: 181
|
||||
width: 973
|
||||
height: 501
|
||||
m_PersistentViewDataDictionary: {fileID: 0}
|
||||
--- !u!114 &14
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12014, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 230, y: 250}
|
||||
m_MaxSize: {x: 10000, y: 10000}
|
||||
m_TitleContent:
|
||||
m_Text: Project
|
||||
m_Image: {fileID: -7501376956915960154, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 7.3333335
|
||||
y: 459.33334
|
||||
width: 860
|
||||
height: 254
|
||||
m_PersistentViewDataDictionary: {fileID: 0}
|
||||
m_SearchFilter:
|
||||
m_NameFilter:
|
||||
m_ClassNames: []
|
||||
m_AssetLabels: []
|
||||
m_AssetBundleNames: []
|
||||
m_VersionControlStates: []
|
||||
m_SoftLockControlStates: []
|
||||
m_ReferencingInstanceIDs:
|
||||
m_SceneHandles:
|
||||
m_ShowAllHits: 0
|
||||
m_SearchArea: 1
|
||||
m_Folders:
|
||||
- Assets
|
||||
m_ViewMode: 1
|
||||
m_StartGridSize: 64
|
||||
m_LastFolders:
|
||||
- Assets
|
||||
m_LastFoldersGridSize: -1
|
||||
m_LastProjectPath: C:\Users\Yoshinaga\Documents\GitHub\Azure-Kinect-Sample-for-Unity
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_FolderTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs: 3a320000
|
||||
m_LastClickedID: 12858
|
||||
m_ExpandedIDs: 000000007e290000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 5}
|
||||
m_SearchString:
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_AssetTreeState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: 000000007e290000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 0}
|
||||
m_SearchString:
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_ListAreaState:
|
||||
m_SelectedInstanceIDs:
|
||||
m_LastClickedInstanceID: 0
|
||||
m_HadKeyboardFocusLastEvent: 0
|
||||
m_ExpandedInstanceIDs: c6230000
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 1
|
||||
m_ClientGUIView: {fileID: 5}
|
||||
m_CreateAssetUtility:
|
||||
m_EndAction: {fileID: 0}
|
||||
m_InstanceID: 0
|
||||
m_Path:
|
||||
m_Icon: {fileID: 0}
|
||||
m_ResourceFile:
|
||||
m_NewAssetIndexInList: -1
|
||||
m_ScrollPosition: {x: 0, y: 0}
|
||||
m_GridSize: 64
|
||||
m_DirectoriesAreaWidth: 227
|
||||
--- !u!114 &15
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12019, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 275, y: 50}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Inspector
|
||||
m_Image: {fileID: -6905738622615590433, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 869.3334
|
||||
y: 80
|
||||
width: 401
|
||||
height: 633
|
||||
m_PersistentViewDataDictionary: {fileID: 0}
|
||||
m_ObjectsLockedBeforeSerialization: []
|
||||
m_InstanceIDsLockedBeforeSerialization:
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_PreviewResizer:
|
||||
m_CachedPref: 160
|
||||
m_ControlHash: -371814159
|
||||
m_PrefName: Preview_InspectorPreview
|
||||
m_PreviewWindow: {fileID: 0}
|
||||
--- !u!114 &16
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12061, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Hierarchy
|
||||
m_Image: {fileID: -590624980919486359, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 7.3333335
|
||||
y: 80
|
||||
width: 212
|
||||
height: 359
|
||||
m_PersistentViewDataDictionary: {fileID: 0}
|
||||
m_SceneHierarchy:
|
||||
m_TreeViewState:
|
||||
scrollPos: {x: 0, y: 0}
|
||||
m_SelectedIDs:
|
||||
m_LastClickedID: 0
|
||||
m_ExpandedIDs: c6fbffff
|
||||
m_RenameOverlay:
|
||||
m_UserAcceptedRename: 0
|
||||
m_Name:
|
||||
m_OriginalName:
|
||||
m_EditFieldRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 0
|
||||
height: 0
|
||||
m_UserData: 0
|
||||
m_IsWaitingForDelay: 0
|
||||
m_IsRenaming: 0
|
||||
m_OriginalEventType: 11
|
||||
m_IsRenamingFilename: 0
|
||||
m_ClientGUIView: {fileID: 4}
|
||||
m_SearchString:
|
||||
m_ExpandedScenes: []
|
||||
m_CurrenRootInstanceID: 0
|
||||
m_LockTracker:
|
||||
m_IsLocked: 0
|
||||
m_CurrentSortingName: TransformSorting
|
||||
m_WindowGUID: fbd5b4a9d2191c44eae1886c4ac10141
|
||||
--- !u!114 &17
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12013, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Scene
|
||||
m_Image: {fileID: 2318424515335265636, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 221.33334
|
||||
y: 80
|
||||
width: 644
|
||||
height: 359
|
||||
m_PersistentViewDataDictionary: {fileID: 0}
|
||||
m_WindowGUID: 1ed7a1dd888ffe74ca312206bb543050
|
||||
m_SceneLighting: 1
|
||||
m_2DMode: 0
|
||||
m_isRotationLocked: 0
|
||||
m_AudioPlay: 0
|
||||
m_Position:
|
||||
m_Target: {x: 0, y: 0, z: 0}
|
||||
speed: 2
|
||||
m_Value: {x: 0, y: 0, z: 0}
|
||||
m_RenderMode: 0
|
||||
m_CameraMode:
|
||||
drawMode: 0
|
||||
name: Shaded
|
||||
section: Shading Mode
|
||||
m_ValidateTrueMetals: 0
|
||||
m_SceneViewState:
|
||||
showFog: 1
|
||||
showMaterialUpdate: 0
|
||||
showSkybox: 1
|
||||
showFlares: 1
|
||||
showImageEffects: 1
|
||||
showParticleSystems: 1
|
||||
grid:
|
||||
xGrid:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
yGrid:
|
||||
m_Target: 1
|
||||
speed: 2
|
||||
m_Value: 1
|
||||
zGrid:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_Rotation:
|
||||
m_Target: {x: -0.13043383, y: -0.006843828, z: 0.00090044463, w: -0.9914331}
|
||||
speed: 2
|
||||
m_Value: {x: -0.13043383, y: -0.006843828, z: 0.00090044463, w: -0.9914331}
|
||||
m_Size:
|
||||
m_Target: 1.8747299
|
||||
speed: 2
|
||||
m_Value: 1.8747299
|
||||
m_Ortho:
|
||||
m_Target: 0
|
||||
speed: 2
|
||||
m_Value: 0
|
||||
m_ShowGlobalGrid: 1
|
||||
m_LastSceneViewRotation: {x: 0, y: 0, z: 0, w: 0}
|
||||
m_LastSceneViewOrtho: 0
|
||||
m_ReplacementShader: {fileID: 0}
|
||||
m_ReplacementString:
|
||||
m_LastLockedObject: {fileID: 0}
|
||||
m_ViewIsLockedToObject: 0
|
||||
--- !u!114 &18
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12015, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 200, y: 200}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Game
|
||||
m_Image: {fileID: -2087823869225018852, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 221.33334
|
||||
y: 80
|
||||
width: 644
|
||||
height: 359
|
||||
m_PersistentViewDataDictionary: {fileID: 0}
|
||||
m_MaximizeOnPlay: 0
|
||||
m_Gizmos: 0
|
||||
m_Stats: 0
|
||||
m_SelectedSizes: 00000000000000000000000000000000000000000000000000000000000000000000000000000000
|
||||
m_TargetDisplay: 0
|
||||
m_ZoomArea:
|
||||
m_HRangeLocked: 0
|
||||
m_VRangeLocked: 0
|
||||
hZoomLockedByDefault: 0
|
||||
vZoomLockedByDefault: 0
|
||||
m_HBaseRangeMin: -214.66667
|
||||
m_HBaseRangeMax: 214.66667
|
||||
m_VBaseRangeMin: -114
|
||||
m_VBaseRangeMax: 114
|
||||
m_HAllowExceedBaseRangeMin: 1
|
||||
m_HAllowExceedBaseRangeMax: 1
|
||||
m_VAllowExceedBaseRangeMin: 1
|
||||
m_VAllowExceedBaseRangeMax: 1
|
||||
m_ScaleWithWindow: 0
|
||||
m_HSlider: 0
|
||||
m_VSlider: 0
|
||||
m_IgnoreScrollWheelUntilClicked: 0
|
||||
m_EnableMouseInput: 0
|
||||
m_EnableSliderZoomHorizontal: 0
|
||||
m_EnableSliderZoomVertical: 0
|
||||
m_UniformScale: 1
|
||||
m_UpDirection: 1
|
||||
m_DrawArea:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 17
|
||||
width: 644
|
||||
height: 342
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Translation: {x: 322, y: 171}
|
||||
m_MarginLeft: 0
|
||||
m_MarginRight: 0
|
||||
m_MarginTop: 0
|
||||
m_MarginBottom: 0
|
||||
m_LastShownAreaInsideMargins:
|
||||
serializedVersion: 2
|
||||
x: -322
|
||||
y: -171
|
||||
width: 644
|
||||
height: 342
|
||||
m_MinimalGUI: 1
|
||||
m_defaultScale: 1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_CurrentColorSpace: 0
|
||||
m_LastWindowPixelSize: {x: 966, y: 538.5}
|
||||
m_ClearInEditMode: 1
|
||||
m_NoCameraWarning: 1
|
||||
m_LowResolutionForAspectRatios: 01000000000100000100
|
||||
m_XRRenderMode: 0
|
||||
--- !u!114 &19
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 52
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 1
|
||||
m_Script: {fileID: 12003, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_MinSize: {x: 100, y: 100}
|
||||
m_MaxSize: {x: 4000, y: 4000}
|
||||
m_TitleContent:
|
||||
m_Text: Console
|
||||
m_Image: {fileID: 111653112392082826, guid: 0000000000000000d000000000000000,
|
||||
type: 0}
|
||||
m_Tooltip:
|
||||
m_Pos:
|
||||
serializedVersion: 2
|
||||
x: 7.3333335
|
||||
y: 459.33334
|
||||
width: 860
|
||||
height: 254
|
||||
m_PersistentViewDataDictionary: {fileID: 0}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +0,0 @@
|
||||
sceneSetups:
|
||||
- path: Assets/AzureKinectSample.unity
|
||||
isLoaded: 1
|
||||
isActive: 1
|
||||
@@ -1,2 +0,0 @@
|
||||
unityRebuildLibraryVersion: 11
|
||||
unityForwardCompatibleVersion: 40
|
||||
Binary file not shown.
@@ -1,37 +0,0 @@
|
||||
|
||||
[1.0.1]
|
||||
|
||||
Adding Readme file
|
||||
Adding local plugin importer callbacks.
|
||||
Removing Bintray references in package.json
|
||||
|
||||
[2.0.3]
|
||||
|
||||
Fix bug where importing the asset store ads package would cause duiplicate symbols,
|
||||
and removing the asset store ads package would cause missing symbols.
|
||||
|
||||
[2.0.4]
|
||||
|
||||
Added new description string to package.json
|
||||
Fixed art assets to use no compression (fixes issue switching between iOS and PC builds)
|
||||
|
||||
[2.0.5] - 2018-03-29
|
||||
|
||||
Fix for https://fogbugz.unity3d.com/f/cases/1011363
|
||||
Fixes an incorrect guid that the importer used to include/exclude the runtime assembly from the build.
|
||||
|
||||
[2.0.6] - 2018-03-29
|
||||
|
||||
Update changelog for this and 2.0.5
|
||||
|
||||
[2.0.7] - 2018-04-06
|
||||
|
||||
Fix editor assembly project file to include the importer script.
|
||||
|
||||
[2.0.8] - 2018-05-01
|
||||
|
||||
Add call to SetShouldOverridePredicate to exclude package dll when asset store dlls are present.
|
||||
Update unity version attribute to support 2017.4 LTS
|
||||
|
||||
Fix an issue with the editor assembly to add back in some iOS platform specific code that was removed
|
||||
via conditionals (which is fine for source packages, but doesn't work with precompiled assemblies)
|
||||
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 35b4e72ca46f44581b85082c4dc21d13
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a37e18887fa954edf92bc36bc353b879
|
||||
folderAsset: yes
|
||||
timeCreated: 1491945644
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7c3a5d6e39b874f468b2691537168513
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258568
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 48986928cc2a449dbaecdd1654bc9bf6
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f28fcced5af094cf78eb4e1109a71981
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Binary file not shown.
-21
@@ -1,21 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b32abd1c9d73a4cce8389f084ac12b11
|
||||
timeCreated: 1491258710
|
||||
licenseType: Pro
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
data:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 99ddb49592ff84811804420a1910cb89
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 121 KiB |
@@ -1,105 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 10bf81265ad87424d946598c575f45a0
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
externalObjects: {}
|
||||
serializedVersion: 5
|
||||
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
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapU: -1
|
||||
wrapV: -1
|
||||
wrapW: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 116 KiB |
@@ -1,105 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1b32bcce201b4494ea8848326290c5d5
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
externalObjects: {}
|
||||
serializedVersion: 5
|
||||
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
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapU: -1
|
||||
wrapV: -1
|
||||
wrapW: -1
|
||||
nPOTScale: 1
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 0
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 0
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 2
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
- serializedVersion: 2
|
||||
buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID:
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4f234578336894dc081edf696f2ff5f2
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2d4d46c70fdd242668a56e99799e8540
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-22
@@ -1,22 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: eeed6954b3c264ca0b28a92aa6289bf0
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
data:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6e7c8cfeedae74eb3a562055e069e441
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
#import "UADSMetaData.h"
|
||||
|
||||
@interface UADSInAppPurchaseMetaData : UADSMetaData
|
||||
|
||||
- (void)setProductId:(NSString *)productId;
|
||||
- (void)setPrice:(NSNumber *)price;
|
||||
- (void)setCurrency:(NSString *)currency;
|
||||
- (void)setReceiptPurchaseData:(NSString *)receiptPurchaseData;
|
||||
- (void)setSignature:(NSString *)signature;
|
||||
|
||||
@end
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7927683d1fc5848b5abfb54ebb1028ec
|
||||
timeCreated: 1493316657
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-13
@@ -1,13 +0,0 @@
|
||||
@interface UADSJsonStorage : NSObject
|
||||
|
||||
@property (nonatomic, strong) NSMutableDictionary *storageContents;
|
||||
|
||||
- (BOOL)set:(NSString *)key value:(id)value;
|
||||
- (id)getValueForKey:(NSString *)key;
|
||||
- (BOOL)deleteKey:(NSString *)key;
|
||||
- (NSArray *)getKeys:(NSString *)key recursive:(BOOL)recursive;
|
||||
- (void)clearData;
|
||||
- (BOOL)initData;
|
||||
- (BOOL)hasData;
|
||||
|
||||
@end
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1322fd896bbb15bb6e335591b766ae62
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
#import "UADSMetaData.h"
|
||||
|
||||
@interface UADSMediationMetaData : UADSMetaData
|
||||
|
||||
- (void)setName:(NSString *)mediationNetworkName;
|
||||
- (void)setVersion:(NSString *)mediationSdkVersion;
|
||||
- (void)setOrdinal:(int)mediationOrdinal;
|
||||
|
||||
@end
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b52e557db2c2b4eebb10444f1d582029
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
|
||||
|
||||
@interface UADSMetaData : NSObject
|
||||
|
||||
@property (nonatomic, strong) NSString *category;
|
||||
@property (nonatomic, strong) NSMutableDictionary *entries;
|
||||
|
||||
- (instancetype)initWithCategory:(NSString *)category;
|
||||
- (void)set:(NSString *)key value:(id)value;
|
||||
- (void)commit;
|
||||
|
||||
@end
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 86c008322e7c647149878156c5b81940
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
#import "UADSMetaData.h"
|
||||
|
||||
@interface UADSPlayerMetaData : UADSMetaData
|
||||
|
||||
- (void)setServerId:(NSString *)serverId;
|
||||
|
||||
@end
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 453f100e6bdae4dfd9e655927819dc85
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-255
@@ -1,255 +0,0 @@
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
#import <UnityAds/UADSMediationMetaData.h>
|
||||
#import <UnityAds/UADSPlayerMetaData.h>
|
||||
|
||||
/**
|
||||
* An enumerate that describes the state of `UnityAds` placements.
|
||||
* @note All placement states, other than `kUnityAdsPlacementStateReady`, indicate that the placement is not currently ready to show ads.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, UnityAdsPlacementState) {
|
||||
/**
|
||||
* A state that indicates that the placement is ready to show an ad. The `show:` selector can be called.
|
||||
*/
|
||||
kUnityAdsPlacementStateReady,
|
||||
/**
|
||||
* A state that indicates that no state is information is available.
|
||||
* @warning This state can that UnityAds is not initialized or that the placement is not correctly configured in the Unity Ads admin tool.
|
||||
*/
|
||||
kUnityAdsPlacementStateNotAvailable,
|
||||
/**
|
||||
* A state that indicates that the placement is currently disabled. The placement can be enabled in the Unity Ads admin tools.
|
||||
*/
|
||||
kUnityAdsPlacementStateDisabled,
|
||||
/**
|
||||
* A state that indicates that the placement is not currently ready, but will be in the future.
|
||||
* @note This state most likely indicates that the ad content is currently caching.
|
||||
*/
|
||||
kUnityAdsPlacementStateWaiting,
|
||||
/**
|
||||
* A state that indicates that the placement is properly configured, but there are currently no ads available for the placement.
|
||||
*/
|
||||
kUnityAdsPlacementStateNoFill
|
||||
};
|
||||
|
||||
/**
|
||||
* An enumeration for the completion state of an ad.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, UnityAdsFinishState) {
|
||||
/**
|
||||
* A state that indicates that the ad did not successfully display.
|
||||
*/
|
||||
kUnityAdsFinishStateError,
|
||||
/**
|
||||
* A state that indicates that the user skipped the ad.
|
||||
*/
|
||||
kUnityAdsFinishStateSkipped,
|
||||
/**
|
||||
* A state that indicates that the ad was played entirely.
|
||||
*/
|
||||
kUnityAdsFinishStateCompleted
|
||||
};
|
||||
|
||||
/**
|
||||
* An enumeration for the various errors that can be emitted through the `UnityAdsDelegate` `unityAdsDidError:withMessage:` method.
|
||||
*/
|
||||
typedef NS_ENUM(NSInteger, UnityAdsError) {
|
||||
/**
|
||||
* An error that indicates failure due to `UnityAds` currently being uninitialized.
|
||||
*/
|
||||
kUnityAdsErrorNotInitialized = 0,
|
||||
/**
|
||||
* An error that indicates failure due to a failure in the initialization process.
|
||||
*/
|
||||
kUnityAdsErrorInitializedFailed,
|
||||
/**
|
||||
* An error that indicates failure due to attempting to initialize `UnityAds` with invalid parameters.
|
||||
*/
|
||||
kUnityAdsErrorInvalidArgument,
|
||||
/**
|
||||
* An error that indicates failure of the video player.
|
||||
*/
|
||||
kUnityAdsErrorVideoPlayerError,
|
||||
/**
|
||||
* An error that indicates failure due to having attempted to initialize the `UnityAds` class in an invalid environment.
|
||||
*/
|
||||
kUnityAdsErrorInitSanityCheckFail,
|
||||
/**
|
||||
* An error that indicates failure due to the presence of an ad blocker.
|
||||
*/
|
||||
kUnityAdsErrorAdBlockerDetected,
|
||||
/**
|
||||
* An error that indicates failure due to inability to read or write a file.
|
||||
*/
|
||||
kUnityAdsErrorFileIoError,
|
||||
/**
|
||||
* An error that indicates failure due to a bad device identifier.
|
||||
*/
|
||||
kUnityAdsErrorDeviceIdError,
|
||||
/**
|
||||
* An error that indicates a failure when attempting to show an ad.
|
||||
*/
|
||||
kUnityAdsErrorShowError,
|
||||
/**
|
||||
* An error that indicates an internal failure in `UnityAds`.
|
||||
*/
|
||||
kUnityAdsErrorInternalError,
|
||||
};
|
||||
|
||||
/**
|
||||
* The `UnityAdsDelegate` protocol defines the required methods for receiving messages from UnityAds.
|
||||
* Must be implemented by the hosting app.
|
||||
* The unityAdsReady: method is called when it's possible to show an ad.
|
||||
* All other methods are used to provide notifications of events of the ad lifecycle.
|
||||
* @note On initialization, there are ready (or error) callbacks for each placement attached to the game identifier.
|
||||
*/
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@protocol UnityAdsDelegate <NSObject>
|
||||
/**
|
||||
* Called when `UnityAds` is ready to show an ad. After this callback you can call the `UnityAds` `show:` method for this placement.
|
||||
* Note that sometimes placement might no longer be ready due to exceptional reasons. These situations will give no new callbacks.
|
||||
*
|
||||
* @warning To avoid error situations, it is always best to check `isReady` method status before calling show.
|
||||
* @param placementId The ID of the placement that is ready to show, as defined in Unity Ads admin tools.
|
||||
*/
|
||||
- (void)unityAdsReady:(NSString *)placementId;
|
||||
/**
|
||||
* Called when `UnityAds` encounters an error. All errors will be logged but this method can be used as an additional debugging aid. This callback can also be used for collecting statistics from different error scenarios.
|
||||
*
|
||||
* @param error A `UnityAdsError` error enum value indicating the type of error encountered.
|
||||
* @param message A human readable string indicating the type of error encountered.
|
||||
*/
|
||||
- (void)unityAdsDidError:(UnityAdsError)error withMessage:(NSString *)message;
|
||||
/**
|
||||
* Called on a successful start of advertisement after calling the `UnityAds` `show:` method.
|
||||
*
|
||||
* @warning If there are errors in starting the advertisement, this method may never be called. Unity Ads will directly call `unityAdsDidFinish:withFinishState:` with error status.
|
||||
*
|
||||
* @param placementId The ID of the placement that has started, as defined in Unity Ads admin tools.
|
||||
*/
|
||||
- (void)unityAdsDidStart:(NSString *)placementId;
|
||||
/**
|
||||
* Called after the ad has closed.
|
||||
*
|
||||
* @param placementId The ID of the placement that has finished, as defined in Unity Ads admin tools.
|
||||
* @param state An enum value indicating the finish state of the ad. Possible values are `Completed`, `Skipped`, and `Error`.
|
||||
*/
|
||||
- (void)unityAdsDidFinish:(NSString *)placementId
|
||||
withFinishState:(UnityAdsFinishState)state;
|
||||
@end
|
||||
|
||||
/**
|
||||
* `UnityAds` is a static class with methods for preparing and showing ads.
|
||||
*
|
||||
* @warning In order to ensure expected behaviour, the delegate must always be set.
|
||||
*/
|
||||
|
||||
@interface UnityAds : NSObject
|
||||
|
||||
- (instancetype)init NS_UNAVAILABLE;
|
||||
+ (instancetype)initialize NS_UNAVAILABLE;
|
||||
|
||||
/**
|
||||
* Initializes UnityAds. UnityAds should be initialized when app starts.
|
||||
*
|
||||
* @param gameId Unique identifier for a game, given by Unity Ads admin tools or Unity editor.
|
||||
* @param delegate delegate for UnityAdsDelegate callbacks
|
||||
*/
|
||||
+ (void)initialize:(NSString *)gameId
|
||||
delegate:(nullable id<UnityAdsDelegate>)delegate;
|
||||
/**
|
||||
* Initializes UnityAds. UnityAds should be initialized when app starts.
|
||||
*
|
||||
* @param gameId Unique identifier for a game, given by Unity Ads admin tools or Unity editor.
|
||||
* @param delegate delegate for UnityAdsDelegate callbacks
|
||||
* @param testMode Set this flag to `YES` to indicate test mode and show only test ads.
|
||||
*/
|
||||
+ (void)initialize:(NSString *)gameId
|
||||
delegate:(nullable id<UnityAdsDelegate>)delegate
|
||||
testMode:(BOOL)testMode;
|
||||
/**
|
||||
* Show an ad using the defaul placement.
|
||||
*
|
||||
* @param viewController The `UIViewController` that is to present the ad view controller.
|
||||
*/
|
||||
+ (void)show:(UIViewController *)viewController;
|
||||
/**
|
||||
* Show an ad using the provided placement ID.
|
||||
*
|
||||
* @param viewController The `UIViewController` that is to present the ad view controller.
|
||||
* @param placementId The placement ID, as defined in Unity Ads admin tools.
|
||||
*/
|
||||
+ (void)show:(UIViewController *)viewController placementId:(NSString *)placementId;
|
||||
/**
|
||||
* Provides the currently assigned `UnityAdsDelegate`.
|
||||
*
|
||||
* @return The current `UnityAdsDelegate`.
|
||||
*/
|
||||
+ (id<UnityAdsDelegate>)getDelegate;
|
||||
/**
|
||||
* Allows the delegate to be reassigned after UnityAds has already been initialized.
|
||||
*
|
||||
* @param delegate The new `UnityAdsDelegate' for UnityAds to send callbacks to.
|
||||
*/
|
||||
+ (void)setDelegate:(id<UnityAdsDelegate>)delegate;
|
||||
/**
|
||||
* Get the current debug status of `UnityAds`.
|
||||
*
|
||||
* @return If `YES`, `UnityAds` will provide verbose logs.
|
||||
*/
|
||||
+ (BOOL)getDebugMode;
|
||||
/**
|
||||
* Set the logging verbosity of `UnityAds`. Debug mode indicates verbose logging.
|
||||
* @warning Does not relate to test mode for ad content.
|
||||
* @param enableDebugMode `YES` for verbose logging.
|
||||
*/
|
||||
+ (void)setDebugMode:(BOOL)enableDebugMode;
|
||||
/**
|
||||
* Check to see if the current device supports using Unity Ads.
|
||||
*
|
||||
* @return If `NO`, the current device cannot initialize `UnityAds` or show ads.
|
||||
*/
|
||||
+ (BOOL)isSupported;
|
||||
/**
|
||||
* Check if the default placement is ready to show an ad.
|
||||
*
|
||||
* @return If `YES`, the default placement is ready to show an ad.
|
||||
*/
|
||||
+ (BOOL)isReady;
|
||||
/**
|
||||
* Check if a particular placement is ready to show an ad.
|
||||
*
|
||||
* @param placementId The placement ID being checked.
|
||||
*
|
||||
* @return If `YES`, the placement is ready to show an ad.
|
||||
*/
|
||||
+ (BOOL)isReady:(NSString *)placementId;
|
||||
/**
|
||||
* Check the current state of the default placement.
|
||||
*
|
||||
* @return If this is `kUnityAdsPlacementStateReady`, the placement is ready to show ads. Other states represent errors.
|
||||
*/
|
||||
+ (UnityAdsPlacementState)getPlacementState;
|
||||
/**
|
||||
* Check the current state of a placement.
|
||||
*
|
||||
* @param placementId The placement ID, as defined in Unity Ads admin tools.
|
||||
*
|
||||
* @return If this is `kUnityAdsPlacementStateReady`, the placement is ready to show ads. Other states represent errors.
|
||||
*/
|
||||
+ (UnityAdsPlacementState)getPlacementState:(NSString *)placementId;
|
||||
/**
|
||||
* Check the version of this `UnityAds` SDK
|
||||
*
|
||||
* @return String representing the current version name.
|
||||
*/
|
||||
+ (NSString *)getVersion;
|
||||
/**
|
||||
* Check that `UnityAds` has been initialized. This might be useful for debugging initialization problems.
|
||||
*
|
||||
* @return If `YES`, Unity Ads has been successfully initialized.
|
||||
*/
|
||||
+ (BOOL)isInitialized;
|
||||
|
||||
@end
|
||||
NS_ASSUME_NONNULL_END
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c99bfe4fc4e5c4dc3917c14075acd117
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-21
@@ -1,21 +0,0 @@
|
||||
#import "UnityAds.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@protocol UnityAdsExtendedDelegate <UnityAdsDelegate>
|
||||
/**
|
||||
* Called when a click event happens.
|
||||
*
|
||||
* @param placementId The ID of the placement that was clicked.
|
||||
*/
|
||||
- (void)unityAdsDidClick:(NSString *)placementId;
|
||||
|
||||
/**
|
||||
* Called when a placement changes state.
|
||||
*
|
||||
* @param placementId The ID of the placement that changed state.
|
||||
* @param oldState The state before the change.
|
||||
* @param newState The state after the change.
|
||||
*/
|
||||
- (void)unityAdsPlacementStateChanged:(NSString *)placementId oldState:(UnityAdsPlacementState)oldState newState:(UnityAdsPlacementState)newState;
|
||||
@end
|
||||
NS_ASSUME_NONNULL_END
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a6842a74831964edc8fefa1c0aed89dc
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-11
@@ -1,11 +0,0 @@
|
||||
#import "UnityAds.h"
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
@protocol UnityAdsUnityDelegate <UnityAdsDelegate>
|
||||
/**
|
||||
* Called when an in-app purchase is initiated from an ad.
|
||||
*
|
||||
* @param eventString The string provided via the ad.
|
||||
*/
|
||||
- (void)unityAdsDidInitiatePurchase:(NSString *)eventString;
|
||||
@end
|
||||
NS_ASSUME_NONNULL_END
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce4395ccdb12cf62fca756358be1a892
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Binary file not shown.
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cc1b50b5501f748da8bec762294d9136
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3cebe1a96232b44388b30b2f72dde434
|
||||
folderAsset: yes
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
framework module UnityAds {
|
||||
umbrella header "UnityAds.h"
|
||||
header "UnityAdsExtended.h"
|
||||
|
||||
export *
|
||||
module * { export * }
|
||||
}
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c5ba7626a737840ff88a3bd84b100482
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
Binary file not shown.
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d1c1a2d988f5148fd9ab17b2460d271e
|
||||
timeCreated: 1491258705
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
Binary file not shown.
-8
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6597c6ea86d36477081342001145d8d9
|
||||
timeCreated: 1492551631
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,25 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a342381d77833427fa10621e38fbae10
|
||||
timeCreated: 1491945648
|
||||
licenseType: Pro
|
||||
PluginImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
Editor:
|
||||
enabled: 1
|
||||
settings:
|
||||
DefaultValueInitialized: true
|
||||
WindowsStoreApps:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
data:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,32 +0,0 @@
|
||||
**Unity Companion Package License v1.0 ("_License_")**
|
||||
|
||||
Copyright © 2017 Unity Technologies ApS ("**_Unity_**")
|
||||
|
||||
Unity hereby grants to you a worldwide, non-exclusive, no-charge, and royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the software that is made available with this License ("**_Software_**"), subject to the following terms and conditions:
|
||||
|
||||
1. *Unity Companion Use Only*. Exercise of the license granted herein is limited to exercise for the creation, use, and/or distribution of applications, software, or other content pursuant to a valid Unity development engine software license ("**_Engine License_**"). That means while use of the Software is not limited to use in the software licensed under the Engine License, the Software may not be used for any purpose other than the creation, use, and/or distribution of Engine License-dependent applications, software, or other content. No other exercise of the license granted herein is permitted.
|
||||
|
||||
1. *No Modification of Engine License*. Neither this License nor any exercise of the license granted herein modifies the Engine License in any way.
|
||||
|
||||
1. *Ownership & Grant Back to You*.
|
||||
|
||||
3.1. You own your content. In this License, "derivative works" means derivatives of the Software itself--works derived only from the Software by you under this License (for example, modifying the code of the Software itself to improve its efficacy); “derivative works” of the Software do not include, for example, games, apps, or content that you create using the Software. You keep all right, title, and interest to your own content.
|
||||
|
||||
3.2. Unity owns its content. While you keep all right, title, and interest to your own content per the above, as between Unity and you, Unity will own all right, title, and interest to all intellectual property rights (including patent, trademark, and copyright) in the Software and derivative works of the Software, and you hereby assign and agree to assign all such rights in those derivative works to Unity.
|
||||
|
||||
3.3. You have a license to those derivative works. Subject to this License, Unity grants to you the same worldwide, non-exclusive, no-charge, and royalty-free copyright license to derivative works of the Software you create as is granted to you for the Software under this License.
|
||||
|
||||
1. *Trademarks*. You are not granted any right or license under this License to use any trademarks, service marks, trade names, products names, or branding of Unity or its affiliates ("**_Trademarks_**"). Descriptive uses of Trademarks are permitted; see, for example, Unity’s Branding Usage Guidelines at [https://unity3d.com/public-relations/brand](https://unity3d.com/public-relations/brand).
|
||||
|
||||
1. *Notices & Third-Party Rights*. This License, including the copyright notice above, must be provided in all substantial portions of the Software and derivative works thereof (or, if that is impracticable, in any other location where such notices are customarily placed). Further, if the Software is accompanied by a Unity "third-party notices" or similar file, you acknowledge and agree that software identified in that file is governed by those separate license terms.
|
||||
|
||||
1. *DISCLAIMER, LIMITATION OF LIABILITY*. THE SOFTWARE AND ANY DERIVATIVE WORKS THEREOF IS PROVIDED ON AN "AS IS" BASIS, AND IS PROVIDED WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND/OR NONINFRINGEMENT. IN NO EVENT SHALL ANY COPYRIGHT HOLDER OR AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES (WHETHER DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL, INCLUDING PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA, OR PROFITS, AND BUSINESS INTERRUPTION), OR OTHER LIABILITY WHATSOEVER, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM OR OUT OF, OR IN CONNECTION WITH, THE SOFTWARE OR ANY DERIVATIVE WORKS THEREOF OR THE USE OF OR OTHER DEALINGS IN SAME, EVEN WHERE ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
1. *USE IS ACCEPTANCE and License Versions*. Your receipt and use of the Software constitutes your acceptance of this License and its terms and conditions. Software released by Unity under this License may be modified or updated and the License with it; upon any such modification or update, you will comply with the terms of the updated License for any use of any of the Software under the updated License.
|
||||
|
||||
1. *Use in Compliance with Law and Termination*. Your exercise of the license granted herein will at all times be in compliance with applicable law and will not infringe any proprietary rights (including intellectual property rights); this License will terminate immediately on any breach by you of this License.
|
||||
|
||||
1. *Severability*. If any provision of this License is held to be unenforceable or invalid, that provision will be enforced to the maximum extent possible and the other provisions will remain in full force and effect.
|
||||
|
||||
1. *Governing Law and Venue*. This License is governed by and construed in accordance with the laws of Denmark, except for its conflict of laws rules; the United Nations Convention on Contracts for the International Sale of Goods will not apply. If you reside (or your principal place of business is) within the United States, you and Unity agree to submit to the personal and exclusive jurisdiction of and venue in the state and federal courts located in San Francisco County, California concerning any dispute arising out of this License ("**_Dispute_**"). If you reside (or your principal place of business is) outside the United States, you and Unity agree to submit to the personal and exclusive jurisdiction of and venue in the courts located in Copenhagen, Denmark concerning any Dispute.
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c6fe94acbb24417c988bab18cbd5209
|
||||
timeCreated: 1504642506
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,4 +0,0 @@
|
||||
# Unity Ads
|
||||
|
||||
Implementation of the Unity Ads API.
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 62772aad98ed04f0d955b7d20de61f7f
|
||||
timeCreated: 1493316656
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
Binary file not shown.
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e57a6c62c1ec47d0bceb70495845164
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,121 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b07d432cba2a4c4f8a2fdea984620b8
|
||||
PluginImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
isPreloaded: 0
|
||||
isOverridable: 0
|
||||
platformData:
|
||||
- first:
|
||||
'': Any
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
Exclude Android: 0
|
||||
Exclude Editor: 0
|
||||
Exclude Linux: 1
|
||||
Exclude Linux64: 1
|
||||
Exclude LinuxUniversal: 1
|
||||
Exclude OSXIntel: 1
|
||||
Exclude OSXIntel64: 1
|
||||
Exclude OSXUniversal: 1
|
||||
Exclude Win: 1
|
||||
Exclude Win64: 1
|
||||
Exclude iOS: 0
|
||||
- first:
|
||||
Android: Android
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: ARMv7
|
||||
- first:
|
||||
Any:
|
||||
second:
|
||||
enabled: 0
|
||||
settings: {}
|
||||
- first:
|
||||
Editor: Editor
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
DefaultValueInitialized: true
|
||||
OS: AnyOS
|
||||
- first:
|
||||
Facebook: Win
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Facebook: Win64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: Linux
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: x86
|
||||
- first:
|
||||
Standalone: Linux64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: x86_64
|
||||
- first:
|
||||
Standalone: LinuxUniversal
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: OSXIntel
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: OSXIntel64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: OSXUniversal
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: None
|
||||
- first:
|
||||
Standalone: Win
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Standalone: Win64
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
Windows Store Apps: WindowsStoreApps
|
||||
second:
|
||||
enabled: 0
|
||||
settings:
|
||||
CPU: AnyCPU
|
||||
- first:
|
||||
iPhone: iOS
|
||||
second:
|
||||
enabled: 1
|
||||
settings:
|
||||
CompileFlags:
|
||||
FrameworkDependencies:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"category": "AssetStore/Unity",
|
||||
"description": "Unity Ads is a video ad network for iOS and Android that allows you to quickly and effectively monetize your games.",
|
||||
"gitHead": "0d2114387a99011be685886f8ea902242e323e70",
|
||||
"keywords": [
|
||||
"ads",
|
||||
"unity"
|
||||
],
|
||||
"name": "com.unity.ads",
|
||||
"repoPackagePath": "build/install/com.unity.ads",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "ssh://git@github.com/Unity-Technologies/com.unity.ads.git"
|
||||
},
|
||||
"unity": "2017.4",
|
||||
"version": "2.0.8"
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dced8f6ea9f964e8e8e61574ea889d21
|
||||
timeCreated: 1491258710
|
||||
licenseType: Pro
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,57 +0,0 @@
|
||||
## [3.2.2] - 2018-11-02
|
||||
- Removed FetchOptOutStatus and Initialize call. All application of opt out
|
||||
status will be handled by the engine. The Analytics/Data Privacy package still
|
||||
provides FetchPrivacyUrl to provide a URL from which to opt out.
|
||||
|
||||
## [3.2.1] - 2018-10-25
|
||||
- Move editor and playmode tests to be packed within the package.
|
||||
|
||||
## [3.2.0] - 2018-10-11
|
||||
- Prevent double-registration of standard events.
|
||||
- Fixed build error on platforms that don't support analytics.
|
||||
- Update package docs so they can be built and published and be accessible from
|
||||
the Package Manager UI.
|
||||
- Fixed a crash occurring on iOS device when the device has cellular capability
|
||||
but was never configured with any carrier service.
|
||||
- Fixed an android build failure occurring due to conflicting install referrer
|
||||
AIDL files.
|
||||
|
||||
## [3.1.1] - 2018-08-21
|
||||
- Add DataPrivacy plugin into package.
|
||||
- Fixed an issue where Android project build would fail when proguard is enabled
|
||||
in publishing settings.
|
||||
- Fixed an issue where iOS product archive would fail because bitcode was not
|
||||
enabled.
|
||||
|
||||
## [3.0.9] - 2018-07-31
|
||||
- Fixing issue with NullReferenceException during editor playmode
|
||||
|
||||
## [3.0.8] - 2018-07-26
|
||||
- Fixing linking issue when building Android il2cpp
|
||||
|
||||
## [3.0.7] - 2018-07-10
|
||||
- Adding in continuous events for signal strength, battery level, battery
|
||||
temperature, memory usage, available storage
|
||||
|
||||
## [3.0.6] - 2018-06-01
|
||||
- Reorganizing platformInfo event around session start/resume/pause
|
||||
|
||||
## [3.0.5] - 2018-05-29
|
||||
- Fixing cellular signal strength incorrect array format
|
||||
|
||||
## [3.0.4] - 2018-05-04
|
||||
- Breaking change to only work with 2018.2 (change name of whitelisted dll's in
|
||||
engine to conform to PackageManager standard)
|
||||
- Changed name of old Analytics dll to the Unity.Analytics.Tracker.dll and
|
||||
replaced the old one with the new platform information package.
|
||||
- Changed naming convention of dlls to the PackageManager Standard:
|
||||
Unity.Analytics.dll, Unity.Analytics.Editor.dll, Unity.Analytics.Tracker.dll,
|
||||
Unity.Analytics.StandardEvents.dll.
|
||||
- Deprecated old Analytics tracker and removed it from the add component menu.
|
||||
- Merged Standardevents package into Analytics package.
|
||||
|
||||
## [2.0.14] - 2018-02-08
|
||||
- Added proper documentation and better description text.
|
||||
|
||||
## [2.0.5] -
|
||||
- Update analytics tracker to 2.0 (1.0 version is still available)
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bcd27da1c9ae94d2cafe094482a20792
|
||||
timeCreated: 1511216857
|
||||
licenseType: Pro
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8aafd27f78c12564281bac0d0067df8d
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,4 +0,0 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
[assembly: InternalsVisibleTo("Unity.Analytics.DataPrivacy.Tests")]
|
||||
[assembly: InternalsVisibleTo("Unity.Analytics.DataPrivacy.WebRequest.Tests")]
|
||||
@@ -1,3 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7aad9e80c95b4991a1f4d017c8caf386
|
||||
timeCreated: 1526477558
|
||||
@@ -1,132 +0,0 @@
|
||||
#if ENABLE_CLOUD_SERVICES_ANALYTICS
|
||||
using System;
|
||||
using System.Text;
|
||||
using UnityEngine.Networking;
|
||||
|
||||
namespace UnityEngine.Analytics
|
||||
{
|
||||
public class DataPrivacy
|
||||
{
|
||||
[Serializable]
|
||||
internal struct UserPostData
|
||||
{
|
||||
public string appid;
|
||||
public string userid;
|
||||
public long sessionid;
|
||||
public string platform;
|
||||
public UInt32 platformid;
|
||||
public string sdk_ver;
|
||||
public bool debug_device;
|
||||
public string deviceid;
|
||||
public string plugin_ver;
|
||||
}
|
||||
|
||||
[Serializable]
|
||||
internal struct TokenData
|
||||
{
|
||||
public string url;
|
||||
public string token;
|
||||
}
|
||||
|
||||
const string kVersion = "3.0.0";
|
||||
const string kVersionString = "DataPrivacyPackage/" + kVersion;
|
||||
|
||||
internal const string kBaseUrl = "https://data-optout-service.uca.cloud.unity3d.com";
|
||||
const string kTokenUrl = kBaseUrl + "/token";
|
||||
|
||||
internal static UserPostData GetUserData()
|
||||
{
|
||||
var postData = new UserPostData
|
||||
{
|
||||
appid = Application.cloudProjectId,
|
||||
userid = AnalyticsSessionInfo.userId,
|
||||
sessionid = AnalyticsSessionInfo.sessionId,
|
||||
platform = Application.platform.ToString(),
|
||||
platformid = (UInt32)Application.platform,
|
||||
sdk_ver = Application.unityVersion,
|
||||
debug_device = Debug.isDebugBuild,
|
||||
deviceid = SystemInfo.deviceUniqueIdentifier,
|
||||
plugin_ver = kVersionString
|
||||
};
|
||||
|
||||
return postData;
|
||||
}
|
||||
|
||||
static string GetUserAgent()
|
||||
{
|
||||
var message = "UnityPlayer/{0} ({1}/{2}{3} {4})";
|
||||
return String.Format(message,
|
||||
Application.unityVersion,
|
||||
Application.platform.ToString(),
|
||||
(UInt32)Application.platform,
|
||||
Debug.isDebugBuild ? "-dev" : "",
|
||||
kVersionString);
|
||||
}
|
||||
|
||||
static String getErrorString(UnityWebRequest www)
|
||||
{
|
||||
var json = www.downloadHandler.text;
|
||||
var error = www.error;
|
||||
if (String.IsNullOrEmpty(error))
|
||||
{
|
||||
// 5.5 sometimes fails to parse an error response, and the only clue will be
|
||||
// in www.responseHeadersString, which isn't accessible.
|
||||
error = "Empty response";
|
||||
}
|
||||
|
||||
if (!String.IsNullOrEmpty(json))
|
||||
{
|
||||
error += ": " + json;
|
||||
}
|
||||
|
||||
return error;
|
||||
}
|
||||
|
||||
public static void FetchPrivacyUrl(Action<string> success, Action<string> failure = null)
|
||||
{
|
||||
string postJson = JsonUtility.ToJson(GetUserData());
|
||||
byte[] bytes = Encoding.UTF8.GetBytes(postJson);
|
||||
var uploadHandler = new UploadHandlerRaw(bytes);
|
||||
uploadHandler.contentType = "application/json";
|
||||
|
||||
var www = UnityWebRequest.Post(kTokenUrl, "");
|
||||
www.uploadHandler = uploadHandler;
|
||||
#if !UNITY_WEBGL
|
||||
www.SetRequestHeader("User-Agent", GetUserAgent());
|
||||
#endif
|
||||
var async = www.SendWebRequest();
|
||||
|
||||
async.completed += (AsyncOperation async2) =>
|
||||
{
|
||||
var json = www.downloadHandler.text;
|
||||
if (!String.IsNullOrEmpty(www.error) || String.IsNullOrEmpty(json))
|
||||
{
|
||||
var error = getErrorString(www);
|
||||
if (failure != null)
|
||||
{
|
||||
failure(error);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
TokenData tokenData;
|
||||
tokenData.url = ""; // Just to quell "possibly unassigned" error
|
||||
try
|
||||
{
|
||||
tokenData = JsonUtility.FromJson<TokenData>(json);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
if (failure != null)
|
||||
{
|
||||
failure(e.ToString());
|
||||
}
|
||||
}
|
||||
|
||||
success(tokenData.url);
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif //ENABLE_CLOUD_SERVICES_ANALYTICS
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bff25ea4cf0d3d841b6787b9f649f21b
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,52 +0,0 @@
|
||||
#if ENABLE_CLOUD_SERVICES_ANALYTICS
|
||||
using System;
|
||||
using UnityEngine.UI;
|
||||
|
||||
namespace UnityEngine.Analytics
|
||||
{
|
||||
public class DataPrivacyButton : Button
|
||||
{
|
||||
bool urlOpened = false;
|
||||
|
||||
DataPrivacyButton()
|
||||
{
|
||||
onClick.AddListener(OpenDataPrivacyUrl);
|
||||
}
|
||||
|
||||
void OnFailure(string reason)
|
||||
{
|
||||
interactable = true;
|
||||
Debug.LogWarning(String.Format("Failed to get data privacy url: {0}", reason));
|
||||
}
|
||||
|
||||
void OpenUrl(string url)
|
||||
{
|
||||
interactable = true;
|
||||
urlOpened = true;
|
||||
|
||||
#if UNITY_WEBGL && !UNITY_EDITOR
|
||||
Application.ExternalEval("window.open(\"" + url + "\",\"_blank\")");
|
||||
#else
|
||||
Application.OpenURL(url);
|
||||
#endif
|
||||
}
|
||||
|
||||
void OpenDataPrivacyUrl()
|
||||
{
|
||||
interactable = false;
|
||||
DataPrivacy.FetchPrivacyUrl(OpenUrl, OnFailure);
|
||||
}
|
||||
|
||||
void OnApplicationFocus(bool hasFocus)
|
||||
{
|
||||
if (hasFocus && urlOpened)
|
||||
{
|
||||
urlOpened = false;
|
||||
// Immediately refresh the remote config so new privacy settings can be enabled
|
||||
// as soon as possible if they have changed.
|
||||
RemoteSettings.ForceUpdate();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif //ENABLE_CLOUD_SERVICES_ANALYTICS
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a5ebb11c6fc3a2f498bd89593f7744aa
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,246 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &109074
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 224: {fileID: 22409074}
|
||||
- 222: {fileID: 22209074}
|
||||
- 114: {fileID: 11409072}
|
||||
m_Layer: 5
|
||||
m_Name: Image
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1 &109076
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 224: {fileID: 22409076}
|
||||
- 222: {fileID: 22209076}
|
||||
- 114: {fileID: 11409074}
|
||||
- 114: {fileID: 11409076}
|
||||
m_Layer: 5
|
||||
m_Name: DataPrivacyButton
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1 &109078
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 224: {fileID: 22409078}
|
||||
- 222: {fileID: 22209078}
|
||||
- 114: {fileID: 11409078}
|
||||
m_Layer: 0
|
||||
m_Name: Text
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &11409072
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109074}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: .196078405, g: .196078405, b: .196078405, a: 1}
|
||||
m_Sprite: {fileID: 21300000, guid: 599a5fd92bab81a4ab02e52d0b1b1c60, type: 3}
|
||||
m_Type: 0
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
--- !u!114 &11409074
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109076}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_Type: 1
|
||||
m_PreserveAspect: 0
|
||||
m_FillCenter: 1
|
||||
m_FillMethod: 4
|
||||
m_FillAmount: 1
|
||||
m_FillClockwise: 1
|
||||
m_FillOrigin: 0
|
||||
--- !u!114 &11409076
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109076}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: a5ebb11c6fc3a2f498bd89593f7744aa, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Navigation:
|
||||
m_Mode: 3
|
||||
m_SelectOnUp: {fileID: 0}
|
||||
m_SelectOnDown: {fileID: 0}
|
||||
m_SelectOnLeft: {fileID: 0}
|
||||
m_SelectOnRight: {fileID: 0}
|
||||
m_Transition: 1
|
||||
m_Colors:
|
||||
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_HighlightedColor: {r: .960784316, g: .960784316, b: .960784316, a: 1}
|
||||
m_PressedColor: {r: .784313738, g: .784313738, b: .784313738, a: 1}
|
||||
m_DisabledColor: {r: .784313738, g: .784313738, b: .784313738, a: .501960814}
|
||||
m_ColorMultiplier: 1
|
||||
m_FadeDuration: .100000001
|
||||
m_SpriteState:
|
||||
m_HighlightedSprite: {fileID: 0}
|
||||
m_PressedSprite: {fileID: 0}
|
||||
m_DisabledSprite: {fileID: 0}
|
||||
m_AnimationTriggers:
|
||||
m_NormalTrigger: Normal
|
||||
m_HighlightedTrigger: Highlighted
|
||||
m_PressedTrigger: Pressed
|
||||
m_DisabledTrigger: Disabled
|
||||
m_Interactable: 1
|
||||
m_TargetGraphic: {fileID: 11409074}
|
||||
m_OnClick:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0,
|
||||
Culture=neutral, PublicKeyToken=null
|
||||
--- !u!114 &11409078
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109078}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 708705254, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
m_Material: {fileID: 0}
|
||||
m_Color: {r: .196078405, g: .196078405, b: .196078405, a: 1}
|
||||
m_FontData:
|
||||
m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_FontSize: 14
|
||||
m_FontStyle: 0
|
||||
m_BestFit: 0
|
||||
m_MinSize: 10
|
||||
m_MaxSize: 40
|
||||
m_Alignment: 4
|
||||
m_RichText: 0
|
||||
m_HorizontalOverflow: 0
|
||||
m_VerticalOverflow: 0
|
||||
m_LineSpacing: 1
|
||||
m_Text: Open Data Privacy Page
|
||||
--- !u!222 &22209074
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109074}
|
||||
--- !u!222 &22209076
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109076}
|
||||
--- !u!222 &22209078
|
||||
CanvasRenderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109078}
|
||||
--- !u!224 &22409074
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109074}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 22409076}
|
||||
m_RootOrder: 1
|
||||
m_AnchorMin: {x: 1, y: .5}
|
||||
m_AnchorMax: {x: 1, y: .5}
|
||||
m_AnchoredPosition: {x: -8, y: 0}
|
||||
m_SizeDelta: {x: 20, y: 20}
|
||||
m_Pivot: {x: 1, y: .5}
|
||||
--- !u!224 &22409076
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109076}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 22409078}
|
||||
- {fileID: 22409074}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
m_AnchorMin: {x: .5, y: .5}
|
||||
m_AnchorMax: {x: .5, y: .5}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 200, y: 30}
|
||||
m_Pivot: {x: .5, y: .5}
|
||||
--- !u!224 &22409078
|
||||
RectTransform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 109078}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 22409076}
|
||||
m_RootOrder: 0
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: .850000024, y: 1}
|
||||
m_AnchoredPosition: {x: 8, y: 0}
|
||||
m_SizeDelta: {x: -12, y: 0}
|
||||
m_Pivot: {x: 0, y: .5}
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 109076}
|
||||
m_IsPrefabParent: 1
|
||||
m_IsExploded: 1
|
||||
-4
@@ -1,4 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 71b11355001648444b41d17fd36c150d
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 13 KiB |
@@ -1,48 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 599a5fd92bab81a4ab02e52d0b1b1c60
|
||||
TextureImporter:
|
||||
fileIDToRecycleName:
|
||||
664227380: ImportLogs
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
linearTexture: 0
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: .25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 256
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: 16
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: .5, y: .5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 8
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
-8
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"name": "Unity.Analytics.DataPrivacy",
|
||||
"references": [],
|
||||
"optionalUnityReferences": [],
|
||||
"includePlatforms": [],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false
|
||||
}
|
||||
-7
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0fda7ebe61ab2164383d10e32efb9c6e
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,51 +0,0 @@
|
||||
# About the Analytics Package
|
||||
|
||||
This Analytics package supports the following Unity Analytics features:
|
||||
|
||||
* [Standard Events](https://docs.unity3d.com/Manual/UnityAnalyticsStandardEvents.html)
|
||||
* [Analytics Event Tracker](https://docs.unity3d.com/Manual/class-AnalyticsEventTracker.html)
|
||||
* [Unity Analytics Data Privacy Plug-in](https://docs.unity3d.com/Manual/UnityAnalyticsDataPrivacy.html)
|
||||
|
||||
For instructions on using the features in the Analytics package, refer to the [Analytics section of
|
||||
the Unity Manual](https://docs.unity3d.com/Manual/UnityAnalytics.html).
|
||||
|
||||
The package is supported by Unity 2018.3+ and includes functionality previously included in
|
||||
earlier Unity Asset Store and Package Manager packages. When upgrading existing projects to
|
||||
2018.3 or later, older, redundant packages should be removed from the project.
|
||||
|
||||
|
||||
## Installing the Analytics Package
|
||||
|
||||
The Analytics package is built into the Unity Editor and enabled automatically. Use the Unity
|
||||
Package Manager (menu: **Window** > **Package Manager**) to disable or enable the package.
|
||||
The Analytics package is listed under the built-in packages.
|
||||
|
||||
|
||||
<a name="UsingAnalytics"></a>
|
||||
## Using the Analytics Package
|
||||
|
||||
For instructions on using the features in the Analytics package, refer to the Unity Manual:
|
||||
|
||||
* [Standard Events](https://docs.unity3d.com/Manual/UnityAnalyticsStandardEvents.html)
|
||||
* [Analytics Event Tracker](https://docs.unity3d.com/Manual/class-AnalyticsEventTracker.html)
|
||||
* [Unity Analytics Data Privacy Plug-in](https://docs.unity3d.com/Manual/UnityAnalyticsDataPrivacy.html)
|
||||
|
||||
|
||||
## Package contents
|
||||
|
||||
The following table indicates the major classes, components, and files included in the Analytics package:
|
||||
|
||||
|Item|Description|
|
||||
|---|---|
|
||||
|[`AnalyticsEvent` class](https://docs.unity3d.com/2018.3/Documentation/ScriptReference/Analytics.AnalyticsEvent.html) | The primary class for sending Standard and Custom analytics events to the Unity Analytics service.|
|
||||
|[Analytics Event Tracker component](https://docs.unity3d.com/Manual/class-AnalyticsEventTracker.html) | A Unity component that you can use to send Standard and Custom analytics events (without writing code).|
|
||||
|[DataPrivacy class](https://docs.unity3d.com/Manual/UnityAnalyticsDataPrivacyAPI.html)| A utility class that helps applications using Unity Analytics comply with the EU General Data Protection Regulation (GDPR).|
|
||||
|`Packages/Analytics Library/DataPrivacy/DataPrivacyButton`| A Prefab GameObject you can use when building a user interface to allow players to opt out of Analytics data collection.|
|
||||
|`Packages/Analytics Library/DataPrivacy/DataPrivacyIcon`| An icon graphic you can use when creating your own opt-out button or control.|
|
||||
|
||||
|
||||
## Document revision history
|
||||
|
||||
|Date|Reason|
|
||||
|---|---|
|
||||
|October 5, 2018|Document created. Matches package version 3.2.0.|
|
||||
@@ -1,10 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7fd5e77e7e7ea4eea8198138cd9cc814
|
||||
folderAsset: yes
|
||||
timeCreated: 1491256195
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB |
-57
@@ -1,57 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e7c9ab97e5884e4eaa5967e9024f39d
|
||||
timeCreated: 1492409422
|
||||
licenseType: Free
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 2
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
linearTexture: 1
|
||||
correctGamma: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 0
|
||||
cubemapConvolution: 0
|
||||
cubemapConvolutionSteps: 7
|
||||
cubemapConvolutionExponent: 1.5
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -3
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
filterMode: -1
|
||||
aniso: 1
|
||||
mipBias: -1
|
||||
wrapMode: 1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
rGBM: 0
|
||||
compressionQuality: 50
|
||||
allowsAlphaSplitting: 0
|
||||
spriteMode: 0
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spritePixelsToUnits: 100
|
||||
alphaIsTransparency: 1
|
||||
textureType: 2
|
||||
buildTargetSettings: []
|
||||
spriteSheet:
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,32 +0,0 @@
|
||||
**Unity Companion Package License v1.0 ("_License_")**
|
||||
|
||||
Copyright © 2017 Unity Technologies ApS ("**_Unity_**")
|
||||
|
||||
Unity hereby grants to you a worldwide, non-exclusive, no-charge, and royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute the software that is made available with this License ("**_Software_**"), subject to the following terms and conditions:
|
||||
|
||||
1. *Unity Companion Use Only*. Exercise of the license granted herein is limited to exercise for the creation, use, and/or distribution of applications, software, or other content pursuant to a valid Unity development engine software license ("**_Engine License_**"). That means while use of the Software is not limited to use in the software licensed under the Engine License, the Software may not be used for any purpose other than the creation, use, and/or distribution of Engine License-dependent applications, software, or other content. No other exercise of the license granted herein is permitted.
|
||||
|
||||
1. *No Modification of Engine License*. Neither this License nor any exercise of the license granted herein modifies the Engine License in any way.
|
||||
|
||||
1. *Ownership & Grant Back to You*.
|
||||
|
||||
3.1. You own your content. In this License, "derivative works" means derivatives of the Software itself--works derived only from the Software by you under this License (for example, modifying the code of the Software itself to improve its efficacy); “derivative works” of the Software do not include, for example, games, apps, or content that you create using the Software. You keep all right, title, and interest to your own content.
|
||||
|
||||
3.2. Unity owns its content. While you keep all right, title, and interest to your own content per the above, as between Unity and you, Unity will own all right, title, and interest to all intellectual property rights (including patent, trademark, and copyright) in the Software and derivative works of the Software, and you hereby assign and agree to assign all such rights in those derivative works to Unity.
|
||||
|
||||
3.3. You have a license to those derivative works. Subject to this License, Unity grants to you the same worldwide, non-exclusive, no-charge, and royalty-free copyright license to derivative works of the Software you create as is granted to you for the Software under this License.
|
||||
|
||||
1. *Trademarks*. You are not granted any right or license under this License to use any trademarks, service marks, trade names, products names, or branding of Unity or its affiliates ("**_Trademarks_**"). Descriptive uses of Trademarks are permitted; see, for example, Unity’s Branding Usage Guidelines at [https://unity3d.com/public-relations/brand](https://unity3d.com/public-relations/brand).
|
||||
|
||||
1. *Notices & Third-Party Rights*. This License, including the copyright notice above, must be provided in all substantial portions of the Software and derivative works thereof (or, if that is impracticable, in any other location where such notices are customarily placed). Further, if the Software is accompanied by a Unity "third-party notices" or similar file, you acknowledge and agree that software identified in that file is governed by those separate license terms.
|
||||
|
||||
1. *DISCLAIMER, LIMITATION OF LIABILITY*. THE SOFTWARE AND ANY DERIVATIVE WORKS THEREOF IS PROVIDED ON AN "AS IS" BASIS, AND IS PROVIDED WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND/OR NONINFRINGEMENT. IN NO EVENT SHALL ANY COPYRIGHT HOLDER OR AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES (WHETHER DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL, INCLUDING PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA, OR PROFITS, AND BUSINESS INTERRUPTION), OR OTHER LIABILITY WHATSOEVER, WHETHER IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM OR OUT OF, OR IN CONNECTION WITH, THE SOFTWARE OR ANY DERIVATIVE WORKS THEREOF OR THE USE OF OR OTHER DEALINGS IN SAME, EVEN WHERE ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
1. *USE IS ACCEPTANCE and License Versions*. Your receipt and use of the Software constitutes your acceptance of this License and its terms and conditions. Software released by Unity under this License may be modified or updated and the License with it; upon any such modification or update, you will comply with the terms of the updated License for any use of any of the Software under the updated License.
|
||||
|
||||
1. *Use in Compliance with Law and Termination*. Your exercise of the license granted herein will at all times be in compliance with applicable law and will not infringe any proprietary rights (including intellectual property rights); this License will terminate immediately on any breach by you of this License.
|
||||
|
||||
1. *Severability*. If any provision of this License is held to be unenforceable or invalid, that provision will be enforced to the maximum extent possible and the other provisions will remain in full force and effect.
|
||||
|
||||
1. *Governing Law and Venue*. This License is governed by and construed in accordance with the laws of Denmark, except for its conflict of laws rules; the United Nations Convention on Contracts for the International Sale of Goods will not apply. If you reside (or your principal place of business is) within the United States, you and Unity agree to submit to the personal and exclusive jurisdiction of and venue in the state and federal courts located in San Francisco County, California concerning any dispute arising out of this License ("**_Dispute_**"). If you reside (or your principal place of business is) outside the United States, you and Unity agree to submit to the personal and exclusive jurisdiction of and venue in the courts located in Copenhagen, Denmark concerning any Dispute.
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 15bf9c691b85b41a39c18bee2f87e21b
|
||||
timeCreated: 1504642560
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,14 +0,0 @@
|
||||
Unity Analytics: Tracker
|
||||
------------------------------
|
||||
Please visit the following URL to see documentation for the Analytics Event Tracker.
|
||||
|
||||
https://docs.google.com/document/d/1glh4zEk0KQ_FhOgk95H-VOubcdzrVGyu5BYCmhFQCh0/edit#
|
||||
|
||||
Please note, the documentation at this URL is considered a "living" document and subject to change.
|
||||
|
||||
|
||||
Unity Analytics: Standard Events
|
||||
------------------------------
|
||||
Track player behavior specific to your game
|
||||
|
||||
Standard Events are a set of curated custom events focused on player experience.
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 884f8f0e4025a420893d3a8d1d3063e1
|
||||
timeCreated: 1511217314
|
||||
licenseType: Pro
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7a573b834e2608c4f982daf527bdb47a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"createSeparatePackage": false
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 931f3395378214a6c94333853bd0659b
|
||||
folderAsset: yes
|
||||
timeCreated: 1489179043
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b6295675042094715ad9cc104210aeb7
|
||||
folderAsset: yes
|
||||
timeCreated: 1489733951
|
||||
licenseType: Pro
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-48
@@ -1,48 +0,0 @@
|
||||
using System;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace UnityEngine.Analytics.Tests
|
||||
{
|
||||
public partial class AnalyticsEventTests
|
||||
{
|
||||
[Test]
|
||||
public void AchievementStep_StepIndexTest(
|
||||
[Values(-1, 0, 1)] int stepIndex
|
||||
)
|
||||
{
|
||||
var achievementId = "unit_tester";
|
||||
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AchievementStep(stepIndex, achievementId));
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AchievementStep_AchievementIdTest(
|
||||
[Values("unit_tester", "", null)] string achievementId
|
||||
)
|
||||
{
|
||||
var stepIndex = 0;
|
||||
|
||||
if (string.IsNullOrEmpty(achievementId))
|
||||
{
|
||||
Assert.Throws<ArgumentException>(() => AnalyticsEvent.AchievementStep(stepIndex, achievementId));
|
||||
}
|
||||
else
|
||||
{
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AchievementStep(stepIndex, achievementId));
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AchievementStep_CustomDataTest()
|
||||
{
|
||||
var stepIndex = 0;
|
||||
var achievementId = "unit_tester";
|
||||
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AchievementStep(stepIndex, achievementId, m_CustomData));
|
||||
EvaluateCustomData(m_CustomData);
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
}
|
||||
}
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a592d27ead6884163839d4f8da3977ef
|
||||
timeCreated: 1489734081
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-34
@@ -1,34 +0,0 @@
|
||||
using System;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace UnityEngine.Analytics.Tests
|
||||
{
|
||||
public partial class AnalyticsEventTests
|
||||
{
|
||||
[Test]
|
||||
public void AchievementUnlocked_AchievementIdTest(
|
||||
[Values("unit_tester", "", null)] string achievementId
|
||||
)
|
||||
{
|
||||
if (string.IsNullOrEmpty(achievementId))
|
||||
{
|
||||
Assert.Throws<ArgumentException>(() => AnalyticsEvent.AchievementUnlocked(achievementId));
|
||||
}
|
||||
else
|
||||
{
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AchievementUnlocked(achievementId));
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AchievementUnlocked_CustomDataTest()
|
||||
{
|
||||
var achievementId = "unit_tester";
|
||||
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AchievementUnlocked(achievementId, m_CustomData));
|
||||
EvaluateCustomData(m_CustomData);
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
}
|
||||
}
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d1114812d620342e1a4ad3eaae7e220c
|
||||
timeCreated: 1489734081
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
-62
@@ -1,62 +0,0 @@
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace UnityEngine.Analytics.Tests
|
||||
{
|
||||
public partial class AnalyticsEventTests
|
||||
{
|
||||
[Test]
|
||||
public void AdComplete_RewardedTest(
|
||||
[Values(true, false)] bool rewarded
|
||||
)
|
||||
{
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AdComplete(rewarded));
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AdComplete_NetworkStringTest(
|
||||
[Values("unityads", "", null)] string network
|
||||
)
|
||||
{
|
||||
var rewarded = true;
|
||||
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AdComplete(rewarded, network));
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AdComplete_NetworkEnumTest(
|
||||
[Values(AdvertisingNetwork.UnityAds, AdvertisingNetwork.None)] AdvertisingNetwork network
|
||||
)
|
||||
{
|
||||
var rewarded = true;
|
||||
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AdComplete(rewarded, network));
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AdComplete_PlacementIdTest(
|
||||
[Values("rewardedVideo", "", null)] string placementId
|
||||
)
|
||||
{
|
||||
var rewarded = true;
|
||||
var network = AdvertisingNetwork.UnityAds;
|
||||
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AdComplete(rewarded, network, placementId));
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void AdComplete_CustomDataTest()
|
||||
{
|
||||
var rewarded = true;
|
||||
var network = AdvertisingNetwork.UnityAds;
|
||||
var placementId = "rewardedVideo";
|
||||
|
||||
Assert.DoesNotThrow(() => m_Result = AnalyticsEvent.AdComplete(rewarded, network, placementId, m_CustomData));
|
||||
EvaluateCustomData(m_CustomData);
|
||||
EvaluateAnalyticsResult(m_Result);
|
||||
}
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user