Commit aeec28c8 王帅

不指定SDK版本,都用最新版本

1 个父辈 2d16bd22
正在显示 864 个修改的文件 包含 629 行增加42 行删除
{
"files.exclude":
{
"**/.DS_Store":true,
"**/.git":true,
"**/.gitmodules":true,
"**/*.booproj":true,
"**/*.pidb":true,
"**/*.suo":true,
"**/*.user":true,
"**/*.userprefs":true,
"**/*.unityproj":true,
"**/*.dll":true,
"**/*.exe":true,
"**/*.pdf":true,
"**/*.mid":true,
"**/*.midi":true,
"**/*.wav":true,
"**/*.gif":true,
"**/*.ico":true,
"**/*.jpg":true,
"**/*.jpeg":true,
"**/*.png":true,
"**/*.psd":true,
"**/*.tga":true,
"**/*.tif":true,
"**/*.tiff":true,
"**/*.3ds":true,
"**/*.3DS":true,
"**/*.fbx":true,
"**/*.FBX":true,
"**/*.lxo":true,
"**/*.LXO":true,
"**/*.ma":true,
"**/*.MA":true,
"**/*.obj":true,
"**/*.OBJ":true,
"**/*.asset":true,
"**/*.cubemap":true,
"**/*.flare":true,
"**/*.mat":true,
"**/*.meta":true,
"**/*.prefab":true,
"**/*.unity":true,
"build/":true,
"Build/":true,
"Library/":true,
"library/":true,
"obj/":true,
"Obj/":true,
"ProjectSettings/":true,
"temp/":true,
"Temp/":true
}
}
\ No newline at end of file \ No newline at end of file
...@@ -579,34 +579,34 @@ ...@@ -579,34 +579,34 @@
<HintPath>/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/mscorlib.dll</HintPath> <HintPath>/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/NetStandard/compat/2.0.0/shims/netfx/mscorlib.dll</HintPath>
</Reference> </Reference>
<Reference Include="Unity.Timeline.Editor"> <Reference Include="Unity.Timeline.Editor">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.Timeline.Editor.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.Timeline.Editor.dll</HintPath>
</Reference> </Reference>
<Reference Include="Unity.VSCode.Editor"> <Reference Include="Unity.VSCode.Editor">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.VSCode.Editor.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.VSCode.Editor.dll</HintPath>
</Reference> </Reference>
<Reference Include="Unity.TextMeshPro.Editor"> <Reference Include="Unity.TextMeshPro.Editor">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.TextMeshPro.Editor.dll</HintPath>
</Reference> </Reference>
<Reference Include="UnityEngine.UI"> <Reference Include="UnityEngine.UI">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/UnityEngine.UI.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/UnityEngine.UI.dll</HintPath>
</Reference> </Reference>
<Reference Include="Unity.Timeline"> <Reference Include="Unity.Timeline">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.Timeline.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.Timeline.dll</HintPath>
</Reference> </Reference>
<Reference Include="Unity.Rider.Editor"> <Reference Include="Unity.Rider.Editor">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.Rider.Editor.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.Rider.Editor.dll</HintPath>
</Reference> </Reference>
<Reference Include="Unity.VisualStudio.Editor"> <Reference Include="Unity.VisualStudio.Editor">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.VisualStudio.Editor.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.VisualStudio.Editor.dll</HintPath>
</Reference> </Reference>
<Reference Include="Unity.TextMeshPro"> <Reference Include="Unity.TextMeshPro">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.TextMeshPro.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.TextMeshPro.dll</HintPath>
</Reference> </Reference>
<Reference Include="Unity.PlasticSCM.Editor"> <Reference Include="Unity.PlasticSCM.Editor">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.PlasticSCM.Editor.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/Unity.PlasticSCM.Editor.dll</HintPath>
</Reference> </Reference>
<Reference Include="UnityEditor.UI"> <Reference Include="UnityEditor.UI">
<HintPath>/Users/ws/Desktop/Anti-addiction/ZAASDK/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/UnityEditor.UI.dll</HintPath> <HintPath>/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Library/ScriptAssemblies/UnityEditor.UI.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
......
Assets/ExternalDependencyManager/Editor/CHANGELOG.md
Assets/ExternalDependencyManager/Editor/Google.IOSResolver.dll
Assets/ExternalDependencyManager/Editor/Google.IOSResolver.dll.mdb
Assets/ExternalDependencyManager/Editor/Google.JarResolver.dll
Assets/ExternalDependencyManager/Editor/Google.JarResolver.dll.mdb
Assets/ExternalDependencyManager/Editor/Google.PackageManagerResolver.dll
Assets/ExternalDependencyManager/Editor/Google.PackageManagerResolver.dll.mdb
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb
Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl.dll.mdb
Assets/ExternalDependencyManager/Editor/LICENSE
Assets/ExternalDependencyManager/Editor/README.md
Assets/ExternalDependencyManager/Editor/CHANGELOG.md
Assets/ExternalDependencyManager/Editor/Google.IOSResolver_v1.2.165.dll
Assets/ExternalDependencyManager/Editor/Google.IOSResolver_v1.2.165.dll.mdb
Assets/ExternalDependencyManager/Editor/Google.JarResolver_v1.2.165.dll
Assets/ExternalDependencyManager/Editor/Google.JarResolver_v1.2.165.dll.mdb
Assets/ExternalDependencyManager/Editor/Google.PackageManagerResolver_v1.2.165.dll
Assets/ExternalDependencyManager/Editor/Google.PackageManagerResolver_v1.2.165.dll.mdb
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandler.dll.mdb
Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl_v1.2.165.dll
Assets/ExternalDependencyManager/Editor/Google.VersionHandlerImpl_v1.2.165.dll.mdb
Assets/ExternalDependencyManager/Editor/LICENSE
Assets/ExternalDependencyManager/Editor/README.md
<dependencies> <dependencies>
<iosPods> <iosPods>
<iosPod name="ZAnti-Addiction" version="~> 0.1.0" minTargetSdk="10.0"> <iosPod name="ZAnti-Addiction" minTargetSdk="10.0">
</iosPod> </iosPod>
</iosPods> </iosPods>
</dependencies> </dependencies>
{
"process_id" : 23387,
"version" : "2019.4.39f1c1",
"app_path" : "/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app",
"app_contents_path" : "/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents"
}
\ No newline at end of file \ No newline at end of file
...@@ -500,4 +500,4 @@ ScriptsOnlyBuild: ...@@ -500,4 +500,4 @@ ScriptsOnlyBuild:
platform: 9 platform: 9
scenePathNames: scenePathNames:
- Assets/AASDKDemo/Scenes/AASDKDemoScene.unity - Assets/AASDKDemo/Scenes/AASDKDemoScene.unity
playerPath: /Users/ws/Desktop/ZAAUnityDemo/cccccccccc playerPath: /Users/ws/Desktop/ZAAUnityDemo/zzzzz
{"m_ExpandedPrefabGameObjectFileIDs":[],"m_ExpandedSceneGameObjectInstanceIDs":[],"m_ScrollY":0.0,"m_LastClickedFileID":0,"m_LastClickedInstanceID":0}
\ No newline at end of file \ No newline at end of file
{"m_ExpandedPrefabGameObjectFileIDs":[],"m_ExpandedSceneGameObjectInstanceIDs":[-1220],"m_ScrollY":0.0,"m_LastClickedFileID":0,"m_LastClickedInstanceID":0}
\ No newline at end of file \ No newline at end of file
Base path: '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/PlaybackEngines' Base path: '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: compileSnippet
api=14 type=0 insize=1220 outsize=4459 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER2 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1
Cmd: compileSnippet
api=14 type=1 insize=1220 outsize=1245 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER2 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1
Base path: '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/PlaybackEngines' Base path: '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: compileSnippet Cmd: compileSnippet
api=14 type=0 insize=3555 outsize=2388 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1 api=14 type=0 insize=1220 outsize=4459 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1
Cmd: compileSnippet
api=14 type=0 insize=3555 outsize=2388 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER2 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1
Cmd: shutdown
Base path: '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/PlaybackEngines' Base path: '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: compileSnippet Cmd: compileSnippet
api=14 type=1 insize=3555 outsize=5652 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1 api=14 type=1 insize=1220 outsize=1245 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1
Cmd: compileSnippet
api=14 type=1 insize=1312 outsize=1187 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1
Cmd: shutdown
Quitting shader compiler process
Base path: '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/PlaybackEngines' Base path: '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents', plugins path '/Applications/Unity/Hub/Editor/2019.4.39f1c1/Unity.app/Contents/PlaybackEngines'
Cmd: initializeCompiler Cmd: initializeCompiler
Cmd: compileSnippet Cmd: compileSnippet
api=14 type=1 insize=3555 outsize=5769 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1 api=14 type=1 insize=1220 outsize=1245 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER3 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1
Cmd: compileSnippet
api=14 type=1 insize=1312 outsize=1187 kw= pd=UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER2 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING ok=1
Cmd: shutdown
Quitting shader compiler process
<linker>
<assembly fullname="UnityEngine">
<type fullname="UnityEngine.Object" preserve="nothing"/>
<type fullname="UnityEditor.VFXManager" preserve="nothing"/>
<type fullname="UnityEditor.PlayerSettings" preserve="nothing"/>
<type fullname="UnityEngine.Material" preserve="nothing"/>
<type fullname="UnityEngine.TextAsset" preserve="nothing"/>
<type fullname="UnityEngine.Shader" preserve="nothing"/>
<type fullname="UnityEditor.MonoScript" preserve="nothing"/>
<type fullname="UnityEditor.AudioManager" preserve="nothing"/>
<type fullname="UnityEditor.PhysicsManager" preserve="nothing"/>
<type fullname="UnityEditor.TimeManager" preserve="nothing"/>
<type fullname="UnityEditor.InputManager" preserve="nothing"/>
<type fullname="UnityEditor.TagManager" preserve="nothing"/>
<type fullname="UnityEditor.MonoManager" preserve="nothing"/>
<type fullname="UnityEngine.Rendering.GraphicsSettings" preserve="nothing"/>
<type fullname="UnityEngine.QualitySettings" preserve="nothing"/>
<type fullname="UnityEditor.Physics2DSettings" preserve="nothing"/>
<type fullname="UnityEngine.AudioBehaviour" preserve="nothing"/>
<type fullname="UnityEngine.Canvas" preserve="nothing"/>
<type fullname="UnityEngine.RectTransform" preserve="nothing"/>
<type fullname="UnityEngine.LightmapSettings" preserve="nothing"/>
<type fullname="UnityEngine.Sprite" preserve="nothing"/>
<type fullname="UnityEngine.Texture2D" preserve="nothing"/>
<type fullname="UnityEngine.Behaviour" preserve="nothing"/>
<type fullname="UnityEngine.MonoBehaviour" preserve="nothing"/>
<type fullname="UnityEngine.Transform" preserve="nothing"/>
<type fullname="UnityEngine.Component" preserve="nothing"/>
<type fullname="UnityEngine.GameObject" preserve="nothing"/>
<type fullname="UnityEngine.RenderSettings" preserve="nothing"/>
<type fullname="UnityEngine.AudioListener" preserve="nothing"/>
<type fullname="UnityEngine.Font" preserve="nothing"/>
<type fullname="UnityEngine.CanvasRenderer" preserve="nothing"/>
<type fullname="UnityEngine.Light" preserve="nothing"/>
<type fullname="UnityEngine.Texture" preserve="nothing"/>
<type fullname="UnityEngine.Cubemap" preserve="nothing"/>
<type fullname="UnityEngine.Camera" preserve="nothing"/>
</assembly>
<assembly fullname="Assembly-CSharp">
<type fullname="AASDKDemoScript" preserve="nothing"/>
</assembly>
<assembly fullname="UnityEngine.UI">
<type fullname="UnityEngine.EventSystems.EventSystem" preserve="nothing"/>
<type fullname="UnityEngine.EventSystems.StandaloneInputModule" preserve="nothing"/>
<type fullname="UnityEngine.UI.Button" preserve="nothing"/>
<type fullname="UnityEngine.UI.CanvasScaler" preserve="nothing"/>
<type fullname="UnityEngine.UI.GraphicRaycaster" preserve="nothing"/>
<type fullname="UnityEngine.UI.Image" preserve="nothing"/>
<type fullname="UnityEngine.UI.Text" preserve="nothing"/>
</assembly>
</linker>
{"report":{"modules":[{"name":"Animation","dependencies":[{"name":"Animator","scenes":[],"dependencyType":0,"icon":null},{"name":"AnimatorController","scenes":[],"dependencyType":1,"icon":null},{"name":"AnimatorOverrideController","scenes":[],"dependencyType":0,"icon":null},{"name":"RuntimeAnimatorController","scenes":[],"dependencyType":1,"icon":null}]},{"name":"Audio","dependencies":[{"name":"AudioBehaviour","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"AudioClip","scenes":[],"dependencyType":0,"icon":null},{"name":"AudioListener","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"AudioManager","scenes":[],"dependencyType":1,"icon":null},{"name":"SampleClip","scenes":[],"dependencyType":1,"icon":null}]},{"name":"Core","dependencies":[{"name":"Behaviour","scenes":[],"dependencyType":1,"icon":null},{"name":"BuildSettings","scenes":[],"dependencyType":1,"icon":null},{"name":"Camera","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"Component","scenes":[],"dependencyType":1,"icon":null},{"name":"ComputeShader","scenes":[],"dependencyType":0,"icon":null},{"name":"Cubemap","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"CubemapArray","scenes":[],"dependencyType":0,"icon":null},{"name":"DelayedCallManager","scenes":[],"dependencyType":1,"icon":null},{"name":"EditorExtension","scenes":[],"dependencyType":1,"icon":null},{"name":"GameManager","scenes":[],"dependencyType":1,"icon":null},{"name":"GameObject","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"GlobalGameManager","scenes":[],"dependencyType":1,"icon":null},{"name":"GraphicsSettings","scenes":[],"dependencyType":0,"icon":null},{"name":"InputManager","scenes":[],"dependencyType":1,"icon":null},{"name":"LevelGameManager","scenes":[],"dependencyType":1,"icon":null},{"name":"Light","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"LightmapSettings","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"LightProbes","scenes":[],"dependencyType":0,"icon":null},{"name":"LowerResBlitTexture","scenes":[],"dependencyType":0,"icon":null},{"name":"Material","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"Mesh","scenes":[],"dependencyType":0,"icon":null},{"name":"MeshFilter","scenes":[],"dependencyType":0,"icon":null},{"name":"MeshRenderer","scenes":[],"dependencyType":0,"icon":null},{"name":"MonoBehaviour","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"MonoManager","scenes":[],"dependencyType":1,"icon":null},{"name":"MonoScript","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":1,"icon":null},{"name":"NamedObject","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":1,"icon":null},{"name":"Object","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"PlayerSettings","scenes":[],"dependencyType":1,"icon":null},{"name":"PreloadData","scenes":[],"dependencyType":0,"icon":null},{"name":"QualitySettings","scenes":[],"dependencyType":0,"icon":null},{"name":"RectTransform","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"ReflectionProbe","scenes":[],"dependencyType":0,"icon":null},{"name":"Renderer","scenes":[],"dependencyType":1,"icon":null},{"name":"RenderSettings","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"RenderTexture","scenes":[],"dependencyType":0,"icon":null},{"name":"ResourceManager","scenes":[],"dependencyType":1,"icon":null},{"name":"RuntimeInitializeOnLoadManager","scenes":[],"dependencyType":1,"icon":null},{"name":"ScriptMapper","scenes":[],"dependencyType":1,"icon":null},{"name":"Shader","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"Sprite","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"SpriteAtlas","scenes":[],"dependencyType":0,"icon":null},{"name":"SpriteRenderer","scenes":[],"dependencyType":0,"icon":null},{"name":"TagManager","scenes":[],"dependencyType":1,"icon":null},{"name":"TextAsset","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"Texture","scenes":[],"dependencyType":1,"icon":null},{"name":"Texture2D","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"Texture2DArray","scenes":[],"dependencyType":0,"icon":null},{"name":"Texture3D","scenes":[],"dependencyType":0,"icon":null},{"name":"TimeManager","scenes":[],"dependencyType":1,"icon":null},{"name":"Transform","scenes":[],"dependencyType":1,"icon":null},{"name":"Required by Animation Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.animation"},{"name":"Required by Audio Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.audio"},{"name":"Required by GameCenter Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.gamecenter"},{"name":"Required by ImageConversion Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.imageconversion"},{"name":"Required by IMGUI Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.imgui"},{"name":"Required by InputLegacy Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.inputlegacy"},{"name":"Required by TextRendering Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.textrendering"},{"name":"Required by UI Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.ui"}]},{"name":"GameCenter","dependencies":[]},{"name":"ImageConversion","dependencies":[{"name":"Required by GameCenter Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.gamecenter"}]},{"name":"IMGUI","dependencies":[]},{"name":"InputLegacy","dependencies":[{"name":"Required by IMGUI Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.imgui"}]},{"name":"SharedInternals","dependencies":[{"name":"Required by Animation Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.animation"},{"name":"Required by Audio Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.audio"},{"name":"Required by Core Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.core"},{"name":"Required by GameCenter Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.gamecenter"},{"name":"Required by ImageConversion Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.imageconversion"},{"name":"Required by IMGUI Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.imgui"},{"name":"Required by InputLegacy Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.inputlegacy"},{"name":"Required by TextRendering Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.textrendering"},{"name":"Required by UI Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.ui"}]},{"name":"TextRendering","dependencies":[{"name":"Font","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"Required by IMGUI Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.imgui"},{"name":"Required by UI Module","scenes":[],"dependencyType":2,"icon":"package/com.unity.modules.ui"}]},{"name":"UI","dependencies":[{"name":"Canvas","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null},{"name":"CanvasGroup","scenes":[],"dependencyType":0,"icon":null},{"name":"CanvasRenderer","scenes":["Assets/AASDKDemo/Scenes/AASDKDemoScene.unity"],"dependencyType":0,"icon":null}]}]}}
\ No newline at end of file \ No newline at end of file
-out="/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Temp/StagingArea/Data/Managed/tempStrip" -x="/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Temp/StagingArea/Data/Managed/../platform_native_link.xml" -x="/var/folders/3f/mrlf6c5d7qn5tdqc_msdhxl40000gn/T/tmp7ad3bb00.tmp" -x="/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Temp/StagingArea/Data/Managed/TypesInScenes.xml" -d="/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Temp/StagingArea/Data/Managed" --include-unity-root-assembly="/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" --include-unity-root-assembly="/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory="/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Temp/StagingArea/Data/Managed" --rule-set=Conservative --editor-data-file="/Users/ws/Desktop/Zplay/ZAnti-Addiction/ZAnti-Addiction-Unity/AASDK-Unity/Temp/StagingArea/Data/Managed/EditorToUnityLinkerData.json" --platform=iOS --enable-engine-module-stripping --engine-modules-asset-file="/Applications/Unity/Hub/Editor/2019.4.39f1c1/PlaybackEngines/iOSSupport/Whitelists/../modules.asset"
\ No newline at end of file \ No newline at end of file
wait-for-native-debugger=0
vr-enabled=0
hdr-display-enabled=0
此文件类型无法预览
此文件的差异太大,无法显示。
#pragma once
// Enabling this will force app to do a hard crash instead of a nice exit when UnhandledException
// is thrown. This will force iOS to generate a standard crash report, that can be submitted to
// iTunes by app users and inspected by developers.
#define ENABLE_IOS_CRASH_REPORTING 1
// Enabling this will add a custom Objective-C Uncaught Exception handler, which will print out
// exception information to console.
#define ENABLE_OBJC_UNCAUGHT_EXCEPTION_HANDLER 1
// Enable custom crash reporter to capture crashes. Crash logs will be available to scripts via
// CrashReport API.
#define ENABLE_CUSTOM_CRASH_REPORTER 0
// Enable submission of custom crash reports to Unity servers. This will enable custom crash
// reporter.
#define ENABLE_CRASH_REPORT_SUBMISSION 0
#if ENABLE_CRASH_REPORT_SUBMISSION && !ENABLE_CUSTOM_CRASH_REPORTER
#undef ENABLE_CUSTOM_CRASH_REPORTER
#define ENABLE_CUSTOM_CRASH_REPORTER 1
#endif
#if PLATFORM_TVOS
#undef ENABLE_CUSTOM_CRASH_REPORTER
#define ENABLE_CUSTOM_CRASH_REPORTER 0
#endif
extern "C" void UnityInstallPostCrashCallback();
void InitCrashHandling();
#import "PLCrashReporter.h"
#import "CrashReporter.h"
#include "UndefinePlatforms.h"
#include <mach-o/ldsyms.h>
#include "RedefinePlatforms.h"
extern "C" NSString* UnityGetCrashReportsPath();
static NSUncaughtExceptionHandler* gsCrashReporterUEHandler = NULL;
static decltype(_mh_execute_header) * sExecuteHeader = NULL;
extern "C" void UnitySetExecuteMachHeader(const decltype(_mh_execute_header)* header)
{
sExecuteHeader = header;
}
extern "C" const decltype(_mh_execute_header) * UnityGetExecuteMachHeader() {
return sExecuteHeader;
}
static void SavePendingCrashReport()
{
if (![[UnityPLCrashReporter sharedReporter] hasPendingCrashReport])
return;
NSFileManager *fm = [NSFileManager defaultManager];
NSError *error;
if (![fm createDirectoryAtPath: UnityGetCrashReportsPath() withIntermediateDirectories: YES attributes: nil error: &error])
{
::printf("CrashReporter: could not create crash report directory: %s\n", [[error localizedDescription] UTF8String]);
return;
}
NSData *data = [[UnityPLCrashReporter sharedReporter] loadPendingCrashReportDataAndReturnError: &error];
if (data == nil)
{
::printf("CrashReporter: failed to load crash report data: %s\n", [[error localizedDescription] UTF8String]);
return;
}
NSString* file = [UnityGetCrashReportsPath() stringByAppendingPathComponent: @"crash-"];
unsigned long long seconds = (unsigned long long)[[NSDate date] timeIntervalSince1970];
file = [file stringByAppendingString: [NSString stringWithFormat: @"%llu", seconds]];
file = [file stringByAppendingString: @".plcrash"];
if ([data writeToFile: file atomically: YES])
{
::printf("CrashReporter: saved pending crash report.\n");
if (![[UnityPLCrashReporter sharedReporter] purgePendingCrashReportAndReturnError: &error])
{
::printf("CrashReporter: couldn't remove pending report: %s\n", [[error localizedDescription] UTF8String]);
}
}
else
{
::printf("CrashReporter: couldn't save crash report.\n");
}
// Now copy out a pending version that we can delete if/when we send it
file = [UnityGetCrashReportsPath() stringByAppendingPathComponent: @"crash-pending.plcrash"];
if ([data writeToFile: file atomically: YES])
{
::printf("CrashReporter: saved copy of pending crash report.\n");
}
else
{
::printf("CrashReporter: couldn't save copy of pending crash report.\n");
}
}
static void InitCrashReporter()
{
NSError *error;
UnityInstallPostCrashCallback();
if ([[UnityPLCrashReporter sharedReporter] enableCrashReporterAndReturnError: &error])
::printf("CrashReporter: initialized\n");
else
NSLog(@"CrashReporter: could not enable crash reporter: %@", error);
SavePendingCrashReport();
}
static void UncaughtExceptionHandler(NSException *exception)
{
NSLog(@"Uncaught exception: %@: %@\n%@", [exception name], [exception reason], [exception callStackSymbols]);
if (gsCrashReporterUEHandler)
gsCrashReporterUEHandler(exception);
}
static void InitObjCUEHandler()
{
// Crash reporter sets its own handler, so we have to save it and call it manually
gsCrashReporterUEHandler = NSGetUncaughtExceptionHandler();
NSSetUncaughtExceptionHandler(&UncaughtExceptionHandler);
}
void InitCrashHandling()
{
#if ENABLE_CUSTOM_CRASH_REPORTER
InitCrashReporter();
#endif
#if ENABLE_OBJC_UNCAUGHT_EXCEPTION_HANDLER
InitObjCUEHandler();
#endif
}
// This function will be called when AppDomain.CurrentDomain.UnhandledException event is triggered.
// When running on device the app will do a hard crash and it will generate a crash log.
extern "C" void CrashedCheckBelowForHintsWhy()
{
#if ENABLE_IOS_CRASH_REPORTING || ENABLE_CUSTOM_CRASH_REPORTER
// Make app crash hard here
__builtin_trap();
// Just in case above doesn't work
abort();
#endif
}
/* SINGLE CPP FILE TO GENERATE SEAMLESS BRIDGE BETWEEN BINARIES < SHARED ENGINE LIBRARY WITH ABSTRACT EXTERN FUNCTIONS> | < PLAYER EXECUTABLE WITH ABSTRACT FUNCTION IMPLEMENTATION >
1. if building shared engine library this file will:
define body for Unity* methods that proxy call to actual method
actual method will be set later from outside with respective call to SetUnity*Body
defines SetUnity*Body method to set actual method for call, theese functions are exported from library
2. if building player against shared engine library this file will:
calls SetUnity*Body providing actual method to be called by shared engine library later
wraps all SetUnity*Body calls in one single method SetAllUnityFunctionsForDynamicPlayerLib
- notes:
file will be included only if development / il2ccp and:
- for xcode project if BuildSettings.UseDynamicPlayerLib is true
- for player if (build.pl staticLib=1, jam BUILD_IOS_DYNAMIC_PLAYER=1)
DynamicLibEngineAPI-functions.h include list of functions to proxy calls from player to trampoline
- each function inlist is defined with UnityExternCall or UnityExternCall4StaticMember
*/
// deal with __VA_ARGS__ to convert them to formated lists with provided M macro
#define VA_ARGS_COUNT(...) INTERNAL_GET_ARG_COUNT_PRIVATE(0, ## __VA_ARGS__, 20, 19, 18, 17, 16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0)
#define INTERNAL_GET_ARG_COUNT_PRIVATE(_0, _1_, _2_, _3_, _4_, _5_, _6_, _7_, _8_, _9_, _10_, _11_, _12_, _13_, _14_, _15_, _16_, _17_, _18_, _19_, _20_, count, ...) count
#define JOIN_VA_ARGS_0(M, ...)
#define JOIN_VA_ARGS_1(M, T1) M(T1,1)
#define JOIN_VA_ARGS_2(M, T1, T2) M(T1,1), M(T2,2)
#define JOIN_VA_ARGS_3(M, T1, T2, T3) M(T1,1), M(T2,2), M(T3,3)
#define JOIN_VA_ARGS_4(M, T1, T2, T3, T4) M(T1,1), M(T2,2), M(T3,3), M(T4,4)
#define JOIN_VA_ARGS_5(M, T1, T2, T3, T4, T5) M(T1,1), M(T2,2), M(T3,3), M(T4,4), M(T5,5)
#define JOIN_VA_ARGS_6(M, T1, T2, T3, T4, T5, T6) M(T1,1), M(T2,2), M(T3,3), M(T4,4), M(T5,5), M(T6,6)
#define JOIN_VA_ARGS_7(M, T1, T2, T3, T4, T5, T6, T7) M(T1,1), M(T2,2), M(T3,3), M(T4,4), M(T5,5), M(T6,6), M(T7,7)
#define JOIN_VA_ARGS_8(M, T1, T2, T3, T4, T5, T6, T7, T8) M(T1,1), M(T2,2), M(T3,3), M(T4,4), M(T5,5), M(T6,6), M(T7,7), M(T8,8)
#define JOIN_VA_ARGS_9(M, T1, T2, T3, T4, T5, T6, T7, T8, T9) M(T1,1), M(T2,2), M(T3,3), M(T4,4), M(T5,5), M(T6,6), M(T7,7), M(T8,8), M(T9,9)
#define JOIN_VA_ARGS___(M, N, ...) JOIN_VA_ARGS_##N(M, __VA_ARGS__ )
#define JOIN_VA_ARGS__(M, N, ...) JOIN_VA_ARGS___(M,N,__VA_ARGS__)
#define JOIN_VA_ARGS_(M, ...) JOIN_VA_ARGS__(M,VA_ARGS_COUNT(__VA_ARGS__), __VA_ARGS__)
#define JOIN_VA_ARGS(M, ...) JOIN_VA_ARGS_(M,__VA_ARGS__)
// convert to function definition params:
// egz: VA_ARGS_TO_PARAMS(int, char, bool) expands to: int p3, char p2, bool p1
#define VA_JOIN_AS_PARAMS(type, index) type p##index
#define VA_ARGS_TO_PARAMS(...) JOIN_VA_ARGS(VA_JOIN_AS_PARAMS,__VA_ARGS__)
// convert to function call params
// egz: VA_ARGS_TO_CALL(int,char,bool) exapnds to: p3, p2, p1
#define VA_JOIN_AS_CALL(type, index) p##index
#define VA_ARGS_TO_CALL(...) JOIN_VA_ARGS(VA_JOIN_AS_CALL,__VA_ARGS__)
#ifndef UNITY_ENGINE_DYNAMICLIB_MODE
#define UNITY_ENGINE_DYNAMICLIB_MODE 0
#endif
#if UNITY_ENGINE_DYNAMICLIB_MODE
// [ part of Unity Player ]
// this part generates Unity* functions that act as proxy to call actual function from trampoline
// for each function in DynamicLibEngineAPI-functions.h will be generated proxy function
// proxy for extern "C" function
// egz: UnityExternCall(int, UnityTestFunctionName, int);
// will expand to:
// static int(*gPtrUnityTestFunctionName)(int) = nullptr;
// extern "C" int UnityTestFunctionName(int p1) {
// assert(gPtrUnityTestFunctionName) != nullptr);
// return gPtrUnityTestFunctionName(p1);
// }
// __attribute__((visibility("default")))
// extern "C" void SetUnityTestFunctionNameBody(decltype(&UnityTestFunctionName) fPtr) {
// gPtrUnityTestFunctionName = fPtr;
// }
#define UnityExternCall(returnType, funcName, ...) \
static returnType(*gPtr##funcName)(__VA_ARGS__) = nullptr; \
extern "C" returnType funcName(VA_ARGS_TO_PARAMS(__VA_ARGS__)) {\
assert(gPtr##funcName != nullptr); \
return gPtr##funcName(VA_ARGS_TO_CALL(__VA_ARGS__)); \
} \
__attribute__((visibility("default"))) \
extern "C" void Set##funcName##Body(decltype(&funcName) fPtr) { \
gPtr##funcName = fPtr; \
}
// proxy for class static methods
// egz: UnityExternCall4StaticMember(int, MyClass MyMethod, int);
// will expand to:
// static int(*gPtrMyClassMyMethod)(int) = nullptr;
// int MyClass::MyMethod(int p1) {
// assert(gPtrMyClassMyMethod) != nullptr);
// return gPtrMyClassMyMethod(p1);
// }
// __attribute__((visibility("default")))
// extern "C" void SetMyClassMyMethodBody(decltype(gPtrMyClassMyMethod) fPtr) {
// gPtrMyClassMyMethod = fPtr;
// }
#define UnityExternCall4StaticMember(returnType, className, funcName, ...) \
static returnType(*gPtr##className##funcName)(__VA_ARGS__) = nullptr; \
returnType className::funcName(VA_ARGS_TO_PARAMS(__VA_ARGS__)) { \
assert(gPtr##className##funcName != nullptr); \
return gPtr##className##funcName(VA_ARGS_TO_CALL(__VA_ARGS__)); \
} \
__attribute__((visibility("default"))) \
extern "C" void Set##className##funcName##Body(decltype(gPtr##className##funcName) fPtr) { \
gPtr##className##funcName = fPtr; \
}
#include "PlatformDependent/iPhonePlayer/Trampoline/Classes/Unity/UnitySharedDecls.h"
#include "PlatformDependent/iPhonePlayer/Trampoline/Classes/Unity/UnityRendering.h"
#include "PlatformDependent/iPhonePlayer/TrampolineInterface.h"
#include "Runtime/Graphics/DisplayManager.h"
#include "Runtime/Input/LocationService.h"
#import <UIKit/UIKit.h>
#include "External/baselib/builds/Include/PreExternalInclude.h"
#include <mach-o/ldsyms.h>
#include "External/baselib/builds/Include/PostExternalInclude.h"
#include "DynamicLibEngineAPI-functions.h"
#undef UnityExternCall
#undef UnityExternCall4StaticMember
#else
// [ part of Xcode project ]
// for each function defined in DynamicLibEngineAPI-functions.h will be generated SetUnity*Body function
// for extern "C" functions
// egz: UnityExternCall(int, UnityTestFunctionName, int);
// will expand to:
// extern "C" UnityTestFunctionName(int);
// extern "C" SetUnityTestFunctionName(decltype(&UnityTestFunctionName));
#define UnityExternCall(returnType, funcName, ...) \
extern "C" returnType funcName(__VA_ARGS__); \
extern "C" void Set##funcName##Body(decltype(&funcName));
// for class static method
// egz: UnityExternCall4StaticMember(int, MyClass MyMethod, int);
// will expand to:
// extern "C" void SetMyClassMyMethodBody(decltype(&MyClass::MyMethod));
#define UnityExternCall4StaticMember(returnType, className, funcName, ...) \
extern "C" void Set##className##funcName##Body(decltype(&className::funcName));
#include "UnityRendering.h"
#include "Classes/iPhone_Sensors.h"
#include "UndefinePlatforms.h"
#include <mach-o/ldsyms.h>
#include "RedefinePlatforms.h"
#include "DynamicLibEngineAPI-functions.h"
#undef UnityExternCall
#undef UnityExternCall4StaticMember
// single function to call every Set*Body function from DynamicLibEngineAPI-functions.h
#define UnityExternCall(returnType, funcName, ...) Set##funcName##Body(funcName);
#define UnityExternCall4StaticMember(returnType, className, funcName, ...) Set##className##funcName##Body(className::funcName)
extern "C" void SetAllUnityFunctionsForDynamicPlayerLib()
{
#include "DynamicLibEngineAPI-functions.h"
}
#undef UnityExternCall
#undef UnityExternCall4StaticMember
#endif
/*
* Author: Landon Fuller <landonf@plausiblelabs.com>
*
* Copyright (c) 2008-2009 Plausible Labs Cooperative, Inc.
* All rights reserved.
*
* Permission is hereby granted, free of charge, to any person
* obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without
* restriction, including without limitation the rights to use,
* copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the
* Software is furnished to do so, subject to the following
* conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
* OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
* OTHER DEALINGS IN THE SOFTWARE.
*/
#import <Foundation/Foundation.h>
/**
* @ingroup functions
*
* Prototype of a callback function used to execute additional user code with signal information as provided
* by PLCrashReporter. Called upon completion of crash handling, after the crash report has been written to disk.
*
* @param info The signal info.
* @param uap The crash's threads context.
* @param context The API client's supplied context value.
*
* @sa @ref async_safety
* @sa PLCrashReporter::setPostCrashCallbacks:
*/
typedef void (*UnityPLCrashReporterPostCrashSignalCallback)(siginfo_t *info, ucontext_t *uap, void *context);
/**
* @ingroup types
*
* This structure contains callbacks supported by PLCrashReporter to allow the host application to perform
* additional tasks prior to program termination after a crash has occured.
*
* @sa @ref async_safety
*/
typedef struct UnityPLCrashReporterCallbacks
{
/** The version number of this structure. If not one of the defined version numbers for this type, the behavior
* is undefined. The current version of this structure is 0. */
uint16_t version;
/** An arbitrary user-supplied context value. This value may be NULL. */
void *context;
/** The callback used to report caught signal information. In version 0 of this structure, all crashes will be
* reported via this function. */
UnityPLCrashReporterPostCrashSignalCallback handleSignal;
} UnityPLCrashReporterCallbacks;
@interface UnityPLCrashReporter : NSObject
{
@private
/** YES if the crash reporter has been enabled */
BOOL _enabled;
/** Application identifier */
NSString *_applicationIdentifier;
/** Application version */
NSString *_applicationVersion;
/** Path to the crash reporter internal data directory */
NSString *_crashReportDirectory;
}
+ (UnityPLCrashReporter *)sharedReporter;
- (BOOL)hasPendingCrashReport;
- (NSData *)loadPendingCrashReportData;
- (NSData *)loadPendingCrashReportDataAndReturnError:(NSError **)outError;
- (NSData *)generateLiveReport;
- (NSData *)generateLiveReportAndReturnError:(NSError **)outError;
- (BOOL)purgePendingCrashReport;
- (BOOL)purgePendingCrashReportAndReturnError:(NSError **)outError;
- (BOOL)enableCrashReporter;
- (BOOL)enableCrashReporterAndReturnError:(NSError **)outError;
- (void)setCrashCallbacks:(UnityPLCrashReporterCallbacks *)callbacks;
@end
#pragma once
#include "LifeCycleListener.h"
@protocol AppDelegateListener<LifeCycleListener>
@optional
// these do not have apple defined notifications, so we use our own notifications
// notification will be posted from
// - (void)application:(UIApplication*)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData*)deviceToken
// notification user data is deviceToken
- (void)didRegisterForRemoteNotificationsWithDeviceToken:(NSNotification*)notification;
// notification will be posted from
// - (void)application:(UIApplication*)application didFailToRegisterForRemoteNotificationsWithError:(NSError*)error
// notification user data is error
- (void)didFailToRegisterForRemoteNotificationsWithError:(NSNotification*)notification;
// notification will be posted from
// - (void)application:(UIApplication*)application didReceiveRemoteNotification:(NSDictionary*)userInfo
// notification user data is userInfo
- (void)didReceiveRemoteNotification:(NSNotification*)notification;
// notification will be posted from
// - (void)application:(UIApplication*)application didReceiveLocalNotification:(UILocalNotification*)notification
// notification user data is notification
- (void)didReceiveLocalNotification:(NSNotification*)notification;
// notification will be posted from
// - (BOOL)application:(UIApplication*)application openURL:(NSURL*)url sourceApplication:(NSString*)sourceApplication annotation:(id)annotation
// notification user data is the NSDictionary containing all the params
- (void)onOpenURL:(NSNotification*)notification;
// notification will be posted from
// - (BOOL)application:(UIApplication*)application willFinishLaunchingWithOptions:(NSDictionary*)launchOptions
// notification user data is the NSDictionary containing launchOptions
- (void)applicationWillFinishLaunchingWithOptions:(NSNotification*)notification;
// notification will be posted from
// - (void)application:(UIApplication*)application handleEventsForBackgroundURLSession:(nonnull NSString *)identifier completionHandler:(nonnull void (^)())completionHandler
// notification user data is NSDictionary with one item where key is session identifier and value is completion handler
- (void)onHandleEventsForBackgroundURLSession:(NSNotification*)notification;
// these are just hooks to existing notifications
- (void)applicationDidReceiveMemoryWarning:(NSNotification*)notification;
- (void)applicationSignificantTimeChange:(NSNotification*)notification;
- (void)applicationWillChangeStatusBarFrame:(NSNotification*)notification;
- (void)applicationWillChangeStatusBarOrientation:(NSNotification*)notification;
@end
void UnityRegisterAppDelegateListener(id<AppDelegateListener> obj);
void UnityUnregisterAppDelegateListener(id<AppDelegateListener> obj);
extern "C" __attribute__((visibility("default"))) NSString* const kUnityDidRegisterForRemoteNotificationsWithDeviceToken;
extern "C" __attribute__((visibility("default"))) NSString* const kUnityDidFailToRegisterForRemoteNotificationsWithError;
extern "C" __attribute__((visibility("default"))) NSString* const kUnityDidReceiveRemoteNotification;
extern "C" __attribute__((visibility("default"))) NSString* const kUnityDidReceiveLocalNotification;
extern "C" __attribute__((visibility("default"))) NSString* const kUnityOnOpenURL;
extern "C" __attribute__((visibility("default"))) NSString* const kUnityWillFinishLaunchingWithOptions;
extern "C" __attribute__((visibility("default"))) NSString* const kUnityHandleEventsForBackgroundURLSession;
此文件的差异太大,无法显示。
此文件类型无法预览
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
此文件的差异太大,无法显示。
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!