├── .gitignore ├── Assets ├── Fade.meta └── Fade │ ├── FadeCanvas.prefab │ ├── FadeCanvas.prefab.meta │ ├── FadeMask.prefab │ ├── FadeMask.prefab.meta │ ├── Materials.meta │ ├── Materials │ ├── Mask.renderTexture │ ├── Mask.renderTexture.meta │ ├── UI-Fade-Alpha.mat │ ├── UI-Fade-Alpha.mat.meta │ ├── UI-Fade-Alpha.shader │ ├── UI-Fade-Alpha.shader.meta │ ├── UI-Fade-Cutout.mat │ ├── UI-Fade-Cutout.mat.meta │ ├── UI-Fade-Cutout.shader │ ├── UI-Fade-Cutout.shader.meta │ ├── UI-Mask.mat │ ├── UI-Mask.mat.meta │ ├── UI-Mask.shader │ └── UI-Mask.shader.meta │ ├── Samples.meta │ ├── Samples │ ├── Background.png │ ├── Background.png.meta │ ├── FadeTest.cs │ ├── FadeTest.cs.meta │ ├── Transition.unity │ ├── Transition.unity.meta │ ├── UI.unity │ ├── UI.unity.meta │ ├── grd.png │ ├── grd.png.meta │ ├── test.png │ └── test.png.meta │ ├── Scripts.meta │ └── Scripts │ ├── Fade.cs │ ├── Fade.cs.meta │ ├── FadeImage.cs │ ├── FadeImage.cs.meta │ ├── FadeUI.cs │ ├── FadeUI.cs.meta │ ├── IFade.cs │ └── IFade.cs.meta ├── FadeCamera2 sample.unitypackage ├── FadeCamera2.unitypackage ├── LICENSE ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NavMeshLayers.asset ├── NavMeshLayers.asset.meta ├── NetworkManager.asset ├── Physics2DSettings.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityAdsSettings.asset └── UnityConnectSettings.asset └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | [Ll]ibrary/ 2 | [Tt]emp/ 3 | [Oo]bj/ 4 | [Bb]uild/ 5 | 6 | # Autogenerated VS/MD solution and project files 7 | *.csproj 8 | *.unityproj 9 | *.sln 10 | *.suo 11 | *.tmp 12 | *.user 13 | *.userprefs 14 | *.pidb 15 | *.booproj 16 | 17 | # Unity3D generated meta files 18 | *.pidb.meta 19 | 20 | # Unity3D Generated File On Crash Reports 21 | sysinfo.txt 22 | BackupUnusedAssets 23 | Assets/AssetFiles 24 | Assets/AssetFiles.meta 25 | 26 | -------------------------------------------------------------------------------- /Assets/Fade.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b88600e7077623949a8007f7736b18bc 3 | folderAsset: yes 4 | timeCreated: 1446557793 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Fade/FadeCanvas.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &141186 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 224: {fileID: 22424616} 11 | - 223: {fileID: 22333946} 12 | - 222: {fileID: 22291984} 13 | - 114: {fileID: 11486218} 14 | - 114: {fileID: 11491604} 15 | m_Layer: 5 16 | m_Name: FadeCanvas 17 | m_TagString: Untagged 18 | m_Icon: {fileID: 0} 19 | m_NavMeshLayer: 0 20 | m_StaticEditorFlags: 0 21 | m_IsActive: 1 22 | --- !u!114 &11486218 23 | MonoBehaviour: 24 | m_ObjectHideFlags: 1 25 | m_PrefabParentObject: {fileID: 0} 26 | m_PrefabInternal: {fileID: 100100000} 27 | m_GameObject: {fileID: 141186} 28 | m_Enabled: 0 29 | m_EditorHideFlags: 0 30 | m_Script: {fileID: 11500000, guid: 448623d86f85950479f00cc5367d0ca9, type: 3} 31 | m_Name: 32 | m_EditorClassIdentifier: 33 | m_Material: {fileID: 2100000, guid: d9d88d72d65d92d409606deefe2646d6, type: 2} 34 | m_Color: {r: 0, g: 0, b: 0, a: 1} 35 | m_RaycastTarget: 1 36 | maskTexture: {fileID: 2800000, guid: f56b3d529d22d184dbc46ac81f777207, type: 3} 37 | cutoutRange: 0 38 | --- !u!114 &11491604 39 | MonoBehaviour: 40 | m_ObjectHideFlags: 1 41 | m_PrefabParentObject: {fileID: 0} 42 | m_PrefabInternal: {fileID: 100100000} 43 | m_GameObject: {fileID: 141186} 44 | m_Enabled: 1 45 | m_EditorHideFlags: 0 46 | m_Script: {fileID: 11500000, guid: d416d1715bbc06d4789612d1211da8d4, type: 3} 47 | m_Name: 48 | m_EditorClassIdentifier: 49 | --- !u!222 &22291984 50 | CanvasRenderer: 51 | m_ObjectHideFlags: 1 52 | m_PrefabParentObject: {fileID: 0} 53 | m_PrefabInternal: {fileID: 100100000} 54 | m_GameObject: {fileID: 141186} 55 | --- !u!223 &22333946 56 | Canvas: 57 | m_ObjectHideFlags: 1 58 | m_PrefabParentObject: {fileID: 0} 59 | m_PrefabInternal: {fileID: 100100000} 60 | m_GameObject: {fileID: 141186} 61 | m_Enabled: 1 62 | serializedVersion: 2 63 | m_RenderMode: 0 64 | m_Camera: {fileID: 0} 65 | m_PlaneDistance: 100 66 | m_PixelPerfect: 0 67 | m_ReceivesEvents: 1 68 | m_OverrideSorting: 0 69 | m_OverridePixelPerfect: 0 70 | m_SortingBucketNormalizedSize: 0 71 | m_SortingLayerID: 0 72 | m_SortingOrder: 999 73 | m_TargetDisplay: 0 74 | --- !u!224 &22424616 75 | RectTransform: 76 | m_ObjectHideFlags: 1 77 | m_PrefabParentObject: {fileID: 0} 78 | m_PrefabInternal: {fileID: 100100000} 79 | m_GameObject: {fileID: 141186} 80 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 81 | m_LocalPosition: {x: 0, y: 0, z: 0} 82 | m_LocalScale: {x: 0, y: 0, z: 0} 83 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 84 | m_Children: [] 85 | m_Father: {fileID: 0} 86 | m_RootOrder: 0 87 | m_AnchorMin: {x: 0, y: 0} 88 | m_AnchorMax: {x: 0, y: 0} 89 | m_AnchoredPosition: {x: 0, y: 0} 90 | m_SizeDelta: {x: 0, y: 0} 91 | m_Pivot: {x: 0, y: 0} 92 | --- !u!1001 &100100000 93 | Prefab: 94 | m_ObjectHideFlags: 1 95 | serializedVersion: 2 96 | m_Modification: 97 | m_TransformParent: {fileID: 0} 98 | m_Modifications: [] 99 | m_RemovedComponents: [] 100 | m_ParentPrefab: {fileID: 0} 101 | m_RootGameObject: {fileID: 141186} 102 | m_IsPrefabParent: 1 103 | -------------------------------------------------------------------------------- /Assets/Fade/FadeCanvas.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53c22e1773be7f84aad8ed8b7b58fa6e 3 | timeCreated: 1446563335 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Fade/FadeMask.prefab: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1 &106012 4 | GameObject: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 100100000} 8 | serializedVersion: 4 9 | m_Component: 10 | - 224: {fileID: 22432950} 11 | - 114: {fileID: 11427420} 12 | - 114: {fileID: 11429760} 13 | - 222: {fileID: 22277828} 14 | - 114: {fileID: 11497656} 15 | - 114: {fileID: 11486538} 16 | - 225: {fileID: 22561606} 17 | m_Layer: 5 18 | m_Name: FadeMask 19 | m_TagString: Untagged 20 | m_Icon: {fileID: 0} 21 | m_NavMeshLayer: 0 22 | m_StaticEditorFlags: 0 23 | m_IsActive: 1 24 | --- !u!114 &11427420 25 | MonoBehaviour: 26 | m_ObjectHideFlags: 1 27 | m_PrefabParentObject: {fileID: 0} 28 | m_PrefabInternal: {fileID: 100100000} 29 | m_GameObject: {fileID: 106012} 30 | m_Enabled: 1 31 | m_EditorHideFlags: 0 32 | m_Script: {fileID: 11500000, guid: def0ebf35fa4cab448c8a4f16b096e97, type: 3} 33 | m_Name: 34 | m_EditorClassIdentifier: 35 | cutoutRange: 0 36 | mat: {fileID: 2100000, guid: 4c710d45ee235444caea9b50aef4d3c9, type: 2} 37 | rt: {fileID: 8400000, guid: fe99870ba03c2f343b48e98d34ac4fc9, type: 2} 38 | texture: {fileID: 10305, guid: 0000000000000000f000000000000000, type: 0} 39 | --- !u!114 &11429760 40 | MonoBehaviour: 41 | m_ObjectHideFlags: 1 42 | m_PrefabParentObject: {fileID: 0} 43 | m_PrefabInternal: {fileID: 100100000} 44 | m_GameObject: {fileID: 106012} 45 | m_Enabled: 1 46 | m_EditorHideFlags: 0 47 | m_Script: {fileID: 11500000, guid: d416d1715bbc06d4789612d1211da8d4, type: 3} 48 | m_Name: 49 | m_EditorClassIdentifier: 50 | --- !u!114 &11486538 51 | MonoBehaviour: 52 | m_ObjectHideFlags: 1 53 | m_PrefabParentObject: {fileID: 0} 54 | m_PrefabInternal: {fileID: 100100000} 55 | m_GameObject: {fileID: 106012} 56 | m_Enabled: 1 57 | m_EditorHideFlags: 0 58 | m_Script: {fileID: -1200242548, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 59 | m_Name: 60 | m_EditorClassIdentifier: 61 | m_ShowMaskGraphic: 0 62 | --- !u!114 &11497656 63 | MonoBehaviour: 64 | m_ObjectHideFlags: 1 65 | m_PrefabParentObject: {fileID: 0} 66 | m_PrefabInternal: {fileID: 100100000} 67 | m_GameObject: {fileID: 106012} 68 | m_Enabled: 1 69 | m_EditorHideFlags: 0 70 | m_Script: {fileID: -98529514, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 71 | m_Name: 72 | m_EditorClassIdentifier: 73 | m_Material: {fileID: 2100000, guid: 4c710d45ee235444caea9b50aef4d3c9, type: 2} 74 | m_Color: {r: 1, g: 1, b: 1, a: 1} 75 | m_RaycastTarget: 0 76 | m_OnCullStateChanged: 77 | m_PersistentCalls: 78 | m_Calls: [] 79 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 80 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 81 | m_Texture: {fileID: 8400000, guid: fe99870ba03c2f343b48e98d34ac4fc9, type: 2} 82 | m_UVRect: 83 | serializedVersion: 2 84 | x: 0 85 | y: 0 86 | width: 1 87 | height: 1 88 | --- !u!222 &22277828 89 | CanvasRenderer: 90 | m_ObjectHideFlags: 1 91 | m_PrefabParentObject: {fileID: 0} 92 | m_PrefabInternal: {fileID: 100100000} 93 | m_GameObject: {fileID: 106012} 94 | --- !u!224 &22432950 95 | RectTransform: 96 | m_ObjectHideFlags: 1 97 | m_PrefabParentObject: {fileID: 0} 98 | m_PrefabInternal: {fileID: 100100000} 99 | m_GameObject: {fileID: 106012} 100 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 101 | m_LocalPosition: {x: 0, y: 0, z: 0} 102 | m_LocalScale: {x: 1, y: 1, z: 1} 103 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 104 | m_Children: [] 105 | m_Father: {fileID: 0} 106 | m_RootOrder: 0 107 | m_AnchorMin: {x: 0, y: 0} 108 | m_AnchorMax: {x: 1, y: 1} 109 | m_AnchoredPosition: {x: 0, y: 14.5} 110 | m_SizeDelta: {x: -26.1, y: -50.8} 111 | m_Pivot: {x: 0.5, y: 0.5} 112 | --- !u!225 &22561606 113 | CanvasGroup: 114 | m_ObjectHideFlags: 1 115 | m_PrefabParentObject: {fileID: 0} 116 | m_PrefabInternal: {fileID: 100100000} 117 | m_GameObject: {fileID: 106012} 118 | m_Enabled: 1 119 | m_Alpha: 1 120 | m_Interactable: 0 121 | m_BlocksRaycasts: 1 122 | m_IgnoreParentGroups: 0 123 | --- !u!1001 &100100000 124 | Prefab: 125 | m_ObjectHideFlags: 1 126 | serializedVersion: 2 127 | m_Modification: 128 | m_TransformParent: {fileID: 0} 129 | m_Modifications: [] 130 | m_RemovedComponents: [] 131 | m_ParentPrefab: {fileID: 0} 132 | m_RootGameObject: {fileID: 106012} 133 | m_IsPrefabParent: 1 134 | -------------------------------------------------------------------------------- /Assets/Fade/FadeMask.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43432830f1db3574e9f698d80b00c314 3 | timeCreated: 1450397163 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Fade/Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eb8a50e4c71aa1243b170dfe45aff90d 3 | folderAsset: yes 4 | timeCreated: 1446562144 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/Mask.renderTexture: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!84 &8400000 4 | RenderTexture: 5 | m_ObjectHideFlags: 0 6 | m_PrefabParentObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Mask 9 | m_ImageContentsHash: 10 | serializedVersion: 2 11 | Hash: 00000000000000000000000000000000 12 | m_Width: 128 13 | m_Height: 128 14 | m_AntiAliasing: 1 15 | m_DepthFormat: 0 16 | m_ColorFormat: 0 17 | m_MipMap: 0 18 | m_GenerateMips: 1 19 | m_SRGB: 0 20 | m_TextureSettings: 21 | m_FilterMode: 1 22 | m_Aniso: 0 23 | m_MipBias: 0 24 | m_WrapMode: 1 25 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/Mask.renderTexture.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe99870ba03c2f343b48e98d34ac4fc9 3 | timeCreated: 1446509514 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Fade-Alpha.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: UI-Fade-Alpha 10 | m_Shader: {fileID: 4800000, guid: edff0f80837743c4f9feb5907291503c, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: -1 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MaskTex 21 | second: 22 | m_Texture: {fileID: 2800000, guid: f56b3d529d22d184dbc46ac81f777207, type: 3} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | m_Floats: 26 | data: 27 | first: 28 | name: _Stencil 29 | second: 0 30 | data: 31 | first: 32 | name: _StencilComp 33 | second: 8 34 | data: 35 | first: 36 | name: _StencilOp 37 | second: 0 38 | data: 39 | first: 40 | name: _StencilReadMask 41 | second: 255 42 | data: 43 | first: 44 | name: _StencilWriteMask 45 | second: 255 46 | data: 47 | first: 48 | name: _ColorMask 49 | second: 15 50 | data: 51 | first: 52 | name: _Range 53 | second: 1 54 | m_Colors: 55 | data: 56 | first: 57 | name: _Color 58 | second: {r: 0, g: 0, b: 0, a: 1} 59 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Fade-Alpha.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9d88d72d65d92d409606deefe2646d6 3 | timeCreated: 1446562985 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Fade-Alpha.shader: -------------------------------------------------------------------------------- 1 | /* 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 yamamura tatsuhiko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | Shader "UI/Fade Alpha" 24 | { 25 | Properties 26 | { 27 | [PerRendererData] _MaskTex("Mask Texture", 2D) = "white" {} 28 | [PerRendererData] _Color ("Tint", Color) = (1,0,1,1) 29 | _Range("Range", Range (0, 1)) = 0 30 | } 31 | 32 | SubShader 33 | { 34 | Tags 35 | { 36 | "Queue"="AlphaTest" 37 | "IgnoreProjector"="True" 38 | "RenderType"="TransparentCutout" 39 | "PreviewType"="Plane" 40 | "CanUseSpriteAtlas"="True" 41 | } 42 | 43 | Cull Off 44 | Lighting Off 45 | ZWrite Off 46 | ZTest [unity_GUIZTestMode] 47 | Blend SrcAlpha OneMinusSrcAlpha 48 | 49 | Pass 50 | { 51 | CGPROGRAM 52 | #pragma vertex vert 53 | #pragma fragment frag 54 | 55 | #include "UnityCG.cginc" 56 | #include "UnityUI.cginc" 57 | 58 | 59 | struct appdata_t 60 | { 61 | float4 vertex : POSITION; 62 | float4 color : COLOR; 63 | float2 texcoord : TEXCOORD0; 64 | }; 65 | 66 | struct v2f 67 | { 68 | float4 vertex : SV_POSITION; 69 | fixed4 color : COLOR; 70 | half2 texcoord : TEXCOORD0; 71 | float4 worldPosition : TEXCOORD1; 72 | }; 73 | 74 | fixed4 _Color; 75 | fixed4 _TextureSampleAdd; 76 | 77 | v2f vert(appdata_t IN) 78 | { 79 | v2f OUT; 80 | OUT.worldPosition = IN.vertex; 81 | OUT.vertex = mul(UNITY_MATRIX_MVP, OUT.worldPosition); 82 | 83 | OUT.texcoord = IN.texcoord; 84 | 85 | #ifdef UNITY_HALF_TEXEL_OFFSET 86 | OUT.vertex.xy += (_ScreenParams.zw-1.0)*float2(-1,1); 87 | #endif 88 | 89 | OUT.color = IN.color * _Color; 90 | return OUT; 91 | } 92 | 93 | sampler2D _MainTex; 94 | sampler2D _MaskTex; 95 | float _Range; 96 | 97 | fixed4 frag(v2f IN) : SV_Target 98 | { 99 | half4 color = _Color; 100 | half mask = tex2D(_MaskTex, IN.texcoord).a - (-1 + _Range * 2); 101 | color.a = mask; 102 | 103 | clip(mask - 0.001); 104 | 105 | return color; 106 | } 107 | ENDCG 108 | } 109 | } 110 | } 111 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Fade-Alpha.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: edff0f80837743c4f9feb5907291503c 3 | timeCreated: 1446562943 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Fade-Cutout.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: UI-Fade-Cutout 10 | m_Shader: {fileID: 4800000, guid: d5b17613b5d88c2478da53bc9634bb9d, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: 3000 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | data: 26 | first: 27 | name: _MaskTex 28 | second: 29 | m_Texture: {fileID: 2800000, guid: f56b3d529d22d184dbc46ac81f777207, type: 3} 30 | m_Scale: {x: 3, y: 3} 31 | m_Offset: {x: 0, y: 0} 32 | m_Floats: 33 | data: 34 | first: 35 | name: _Range 36 | second: 1 37 | data: 38 | first: 39 | name: _Stencil 40 | second: 0 41 | data: 42 | first: 43 | name: _StencilComp 44 | second: 8 45 | data: 46 | first: 47 | name: _StencilOp 48 | second: 0 49 | data: 50 | first: 51 | name: _StencilReadMask 52 | second: 255 53 | data: 54 | first: 55 | name: _StencilWriteMask 56 | second: 255 57 | data: 58 | first: 59 | name: _ColorMask 60 | second: 15 61 | m_Colors: 62 | data: 63 | first: 64 | name: _Color 65 | second: {r: 0, g: 0, b: 0, a: 1} 66 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Fade-Cutout.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c08cd46eaf9a0d34eb221ba2978cc476 3 | timeCreated: 1446536351 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Fade-Cutout.shader: -------------------------------------------------------------------------------- 1 | /* 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 yamamura tatsuhiko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | Shader "UI/Fade Cutout" 24 | { 25 | Properties 26 | { 27 | [PerRendererData] _MaskTex("Mask Texture", 2D) = "white" {} 28 | [PerRendererData] _Color ("Tint", Color) = (1,0,1,1) 29 | _Range("Range", Range (0, 1)) = 0 30 | } 31 | 32 | SubShader 33 | { 34 | Tags 35 | { 36 | "Queue"="AlphaTest" 37 | "IgnoreProjector"="True" 38 | "RenderType"="TransparentCutout" 39 | "PreviewType"="Plane" 40 | "CanUseSpriteAtlas"="True" 41 | } 42 | 43 | Cull Off 44 | Lighting Off 45 | ZWrite Off 46 | ZTest [unity_GUIZTestMode] 47 | Blend SrcAlpha OneMinusSrcAlpha 48 | 49 | Pass 50 | { 51 | CGPROGRAM 52 | #pragma vertex vert 53 | #pragma fragment frag 54 | 55 | #include "UnityCG.cginc" 56 | #include "UnityUI.cginc" 57 | 58 | 59 | struct appdata_t 60 | { 61 | float4 vertex : POSITION; 62 | float4 color : COLOR; 63 | float2 texcoord : TEXCOORD0; 64 | }; 65 | 66 | struct v2f 67 | { 68 | float4 vertex : SV_POSITION; 69 | fixed4 color : COLOR; 70 | half2 texcoord : TEXCOORD0; 71 | float4 worldPosition : TEXCOORD1; 72 | }; 73 | 74 | fixed4 _Color; 75 | 76 | v2f vert(appdata_t IN) 77 | { 78 | v2f OUT; 79 | OUT.worldPosition = IN.vertex; 80 | OUT.vertex = mul(UNITY_MATRIX_MVP, OUT.worldPosition); 81 | 82 | OUT.texcoord = IN.texcoord; 83 | 84 | #ifdef UNITY_HALF_TEXEL_OFFSET 85 | OUT.vertex.xy += (_ScreenParams.zw-1.0)*float2(-1,1); 86 | #endif 87 | 88 | OUT.color = IN.color * _Color; 89 | return OUT; 90 | } 91 | 92 | sampler2D _MaskTex; 93 | float _Range; 94 | 95 | fixed4 frag(v2f IN) : SV_Target 96 | { 97 | half4 color = _Color; 98 | half mask = tex2D(_MaskTex, IN.texcoord).a - (-1 + _Range); 99 | 100 | clip(mask - 0.9999); 101 | 102 | return color; 103 | } 104 | ENDCG 105 | } 106 | } 107 | } 108 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Fade-Cutout.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d5b17613b5d88c2478da53bc9634bb9d 3 | timeCreated: 1446535645 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Mask.mat: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!21 &2100000 4 | Material: 5 | serializedVersion: 6 6 | m_ObjectHideFlags: 0 7 | m_PrefabParentObject: {fileID: 0} 8 | m_PrefabInternal: {fileID: 0} 9 | m_Name: UI-Mask 10 | m_Shader: {fileID: 4800000, guid: 280cdeb878b556141b07c4b6f1023167, type: 3} 11 | m_ShaderKeywords: 12 | m_LightmapFlags: 5 13 | m_CustomRenderQueue: 3000 14 | stringTagMap: {} 15 | m_SavedProperties: 16 | serializedVersion: 2 17 | m_TexEnvs: 18 | data: 19 | first: 20 | name: _MainTex 21 | second: 22 | m_Texture: {fileID: 0} 23 | m_Scale: {x: 1, y: 1} 24 | m_Offset: {x: 0, y: 0} 25 | data: 26 | first: 27 | name: _MaskTex 28 | second: 29 | m_Texture: {fileID: 2800000, guid: f56b3d529d22d184dbc46ac81f777207, type: 3} 30 | m_Scale: {x: 3, y: 3} 31 | m_Offset: {x: 0, y: 0} 32 | m_Floats: 33 | data: 34 | first: 35 | name: _Stencil 36 | second: 0 37 | data: 38 | first: 39 | name: _StencilComp 40 | second: 8 41 | data: 42 | first: 43 | name: _StencilOp 44 | second: 0 45 | data: 46 | first: 47 | name: _StencilReadMask 48 | second: 255 49 | data: 50 | first: 51 | name: _StencilWriteMask 52 | second: 255 53 | data: 54 | first: 55 | name: _ColorMask 56 | second: 15 57 | data: 58 | first: 59 | name: _Range 60 | second: 0 61 | m_Colors: 62 | data: 63 | first: 64 | name: _Color 65 | second: {r: 1, g: 1, b: 1, a: 1} 66 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Mask.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c710d45ee235444caea9b50aef4d3c9 3 | timeCreated: 1446508752 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Mask.shader: -------------------------------------------------------------------------------- 1 | /* 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 yamamura tatsuhiko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | Shader "UI/Mask" 24 | { 25 | Properties 26 | { 27 | [PerRendererData] _MaskTex("Mask Texture", 2D) = "white" {} 28 | _Color ("Tint", Color) = (1,1,1,1) 29 | 30 | _StencilComp ("Stencil Comparison", Float) = 8 31 | _Stencil ("Stencil ID", Float) = 0 32 | _StencilOp ("Stencil Operation", Float) = 0 33 | _StencilWriteMask ("Stencil Write Mask", Float) = 255 34 | _StencilReadMask ("Stencil Read Mask", Float) = 255 35 | 36 | _Range("Range", Range (0, 1)) = 0 37 | 38 | _ColorMask ("Color Mask", Float) = 15 39 | } 40 | 41 | SubShader 42 | { 43 | Tags 44 | { 45 | "Queue"="Transparent" 46 | "IgnoreProjector"="True" 47 | "RenderType"="Transparent" 48 | "PreviewType"="Plane" 49 | "CanUseSpriteAtlas"="True" 50 | } 51 | 52 | Stencil 53 | { 54 | Ref [_Stencil] 55 | Comp [_StencilComp] 56 | Pass [_StencilOp] 57 | ReadMask [_StencilReadMask] 58 | WriteMask [_StencilWriteMask] 59 | } 60 | 61 | Cull Off 62 | Lighting Off 63 | ZWrite Off 64 | ZTest [unity_GUIZTestMode] 65 | Blend SrcAlpha OneMinusSrcAlpha 66 | ColorMask [_ColorMask] 67 | 68 | Pass 69 | { 70 | CGPROGRAM 71 | #pragma vertex vert 72 | #pragma fragment frag 73 | 74 | #include "UnityCG.cginc" 75 | #include "UnityUI.cginc" 76 | 77 | struct appdata_t 78 | { 79 | float4 vertex : POSITION; 80 | float4 color : COLOR; 81 | float2 texcoord : TEXCOORD0; 82 | }; 83 | 84 | struct v2f 85 | { 86 | float4 vertex : SV_POSITION; 87 | fixed4 color : COLOR; 88 | half2 texcoord : TEXCOORD0; 89 | float4 worldPosition : TEXCOORD1; 90 | }; 91 | 92 | fixed4 _Color; 93 | fixed4 _TextureSampleAdd; 94 | 95 | bool _UseClipRect; 96 | float4 _ClipRect; 97 | 98 | bool _UseAlphaClip; 99 | 100 | v2f vert(appdata_t IN) 101 | { 102 | v2f OUT; 103 | OUT.worldPosition = IN.vertex; 104 | OUT.vertex = mul(UNITY_MATRIX_MVP, OUT.worldPosition); 105 | 106 | OUT.texcoord = IN.texcoord; 107 | 108 | #ifdef UNITY_HALF_TEXEL_OFFSET 109 | OUT.vertex.xy += (_ScreenParams.zw-1.0)*float2(-1,1); 110 | #endif 111 | 112 | OUT.color = IN.color * _Color; 113 | return OUT; 114 | } 115 | 116 | sampler2D _MainTex; 117 | sampler2D _MaskTex; 118 | float _Range; 119 | 120 | fixed4 frag(v2f IN) : SV_Target 121 | { 122 | half4 color = (tex2D(_MainTex, IN.texcoord) + _TextureSampleAdd) * IN.color; 123 | half mask = tex2D(_MaskTex, IN.texcoord).a; 124 | half alpha = mask - (-1 + _Range * 2); 125 | color.a *= alpha; 126 | 127 | clip (color.a - 0.001); 128 | 129 | return color; 130 | } 131 | ENDCG 132 | } 133 | } 134 | } 135 | -------------------------------------------------------------------------------- /Assets/Fade/Materials/UI-Mask.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 280cdeb878b556141b07c4b6f1023167 3 | timeCreated: 1446508752 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Fade/Samples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e611b2cb59ff64f47a29ee4c10ad234f 3 | folderAsset: yes 4 | timeCreated: 1446562132 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Fade/Samples/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsubaki/FadeCamera2/aebafabad3dd28092c4c68223df60fbb39043efe/Assets/Fade/Samples/Background.png -------------------------------------------------------------------------------- /Assets/Fade/Samples/Background.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6577507a4b442964197fd2f0fd0036da 3 | timeCreated: 1446538270 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 8 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /Assets/Fade/Samples/FadeTest.cs: -------------------------------------------------------------------------------- 1 | /* 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 yamamura tatsuhiko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | using UnityEngine; 24 | using System.Collections; 25 | 26 | public class FadeTest : MonoBehaviour 27 | { 28 | private bool isMainColor = false; 29 | [SerializeField] Color color1 = Color.white, color2 = Color.white; 30 | [SerializeField] UnityEngine.UI.Image image = null; 31 | 32 | [SerializeField] 33 | CanvasGroup group = null; 34 | 35 | [SerializeField] 36 | Fade fade = null; 37 | 38 | public void Fadeout() 39 | { 40 | group.blocksRaycasts = false; 41 | fade.FadeIn (1, () => 42 | { 43 | image.color = (isMainColor) ? color1 : color2; 44 | isMainColor = !isMainColor; 45 | fade.FadeOut(1, ()=>{ 46 | group.blocksRaycasts = true; 47 | }); 48 | }); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /Assets/Fade/Samples/FadeTest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bbba05fd375e70f4ba0ebc2b7513862b 3 | timeCreated: 1446559842 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Fade/Samples/Transition.unity: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!29 &1 4 | SceneSettings: 5 | m_ObjectHideFlags: 0 6 | m_PVSData: 7 | m_PVSObjectsArray: [] 8 | m_PVSPortalsArray: [] 9 | m_OcclusionBakeSettings: 10 | smallestOccluder: 5 11 | smallestHole: 0.25 12 | backfaceThreshold: 100 13 | --- !u!104 &2 14 | RenderSettings: 15 | m_ObjectHideFlags: 0 16 | serializedVersion: 6 17 | m_Fog: 0 18 | m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} 19 | m_FogMode: 3 20 | m_FogDensity: 0.01 21 | m_LinearFogStart: 0 22 | m_LinearFogEnd: 300 23 | m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} 24 | m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} 25 | m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} 26 | m_AmbientIntensity: 1 27 | m_AmbientMode: 3 28 | m_SkyboxMaterial: {fileID: 0} 29 | m_HaloStrength: 0.5 30 | m_FlareStrength: 1 31 | m_FlareFadeSpeed: 3 32 | m_HaloTexture: {fileID: 0} 33 | m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} 34 | m_DefaultReflectionMode: 0 35 | m_DefaultReflectionResolution: 128 36 | m_ReflectionBounces: 1 37 | m_ReflectionIntensity: 1 38 | m_CustomReflection: {fileID: 0} 39 | m_Sun: {fileID: 0} 40 | --- !u!157 &3 41 | LightmapSettings: 42 | m_ObjectHideFlags: 0 43 | serializedVersion: 6 44 | m_GIWorkflowMode: 1 45 | m_LightmapsMode: 1 46 | m_GISettings: 47 | serializedVersion: 2 48 | m_BounceScale: 1 49 | m_IndirectOutputScale: 1 50 | m_AlbedoBoost: 1 51 | m_TemporalCoherenceThreshold: 1 52 | m_EnvironmentLightingMode: 0 53 | m_EnableBakedLightmaps: 0 54 | m_EnableRealtimeLightmaps: 0 55 | m_LightmapEditorSettings: 56 | serializedVersion: 3 57 | m_Resolution: 2 58 | m_BakeResolution: 40 59 | m_TextureWidth: 1024 60 | m_TextureHeight: 1024 61 | m_AOMaxDistance: 1 62 | m_Padding: 2 63 | m_CompAOExponent: 0 64 | m_LightmapParameters: {fileID: 0} 65 | m_TextureCompression: 1 66 | m_FinalGather: 0 67 | m_FinalGatherRayCount: 1024 68 | m_ReflectionCompression: 2 69 | m_LightingDataAsset: {fileID: 0} 70 | m_RuntimeCPUUsage: 25 71 | --- !u!196 &4 72 | NavMeshSettings: 73 | serializedVersion: 2 74 | m_ObjectHideFlags: 0 75 | m_BuildSettings: 76 | serializedVersion: 2 77 | agentRadius: 0.5 78 | agentHeight: 2 79 | agentSlope: 45 80 | agentClimb: 0.4 81 | ledgeDropHeight: 0 82 | maxJumpAcrossDistance: 0 83 | accuratePlacement: 0 84 | minRegionArea: 2 85 | cellSize: 0.16666667 86 | manualCellSize: 0 87 | m_NavMeshData: {fileID: 0} 88 | --- !u!1 &35643680 89 | GameObject: 90 | m_ObjectHideFlags: 0 91 | m_PrefabParentObject: {fileID: 0} 92 | m_PrefabInternal: {fileID: 0} 93 | serializedVersion: 4 94 | m_Component: 95 | - 224: {fileID: 35643681} 96 | - 222: {fileID: 35643683} 97 | - 114: {fileID: 35643682} 98 | m_Layer: 5 99 | m_Name: Background 100 | m_TagString: Untagged 101 | m_Icon: {fileID: 0} 102 | m_NavMeshLayer: 0 103 | m_StaticEditorFlags: 0 104 | m_IsActive: 1 105 | --- !u!224 &35643681 106 | RectTransform: 107 | m_ObjectHideFlags: 0 108 | m_PrefabParentObject: {fileID: 0} 109 | m_PrefabInternal: {fileID: 0} 110 | m_GameObject: {fileID: 35643680} 111 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 112 | m_LocalPosition: {x: 0, y: 0, z: 0} 113 | m_LocalScale: {x: 1, y: 1, z: 1} 114 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 115 | m_Children: [] 116 | m_Father: {fileID: 1632331144} 117 | m_RootOrder: 0 118 | m_AnchorMin: {x: 0.5, y: 0.5} 119 | m_AnchorMax: {x: 0.5, y: 0.5} 120 | m_AnchoredPosition: {x: 14, y: 12} 121 | m_SizeDelta: {x: 738, y: 521} 122 | m_Pivot: {x: 0.5, y: 0.5} 123 | --- !u!114 &35643682 124 | MonoBehaviour: 125 | m_ObjectHideFlags: 0 126 | m_PrefabParentObject: {fileID: 0} 127 | m_PrefabInternal: {fileID: 0} 128 | m_GameObject: {fileID: 35643680} 129 | m_Enabled: 1 130 | m_EditorHideFlags: 0 131 | m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 132 | m_Name: 133 | m_EditorClassIdentifier: 134 | m_Material: {fileID: 0} 135 | m_Color: {r: 1, g: 1, b: 1, a: 1} 136 | m_RaycastTarget: 1 137 | m_OnCullStateChanged: 138 | m_PersistentCalls: 139 | m_Calls: [] 140 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 141 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 142 | m_Sprite: {fileID: 21300000, guid: 6577507a4b442964197fd2f0fd0036da, type: 3} 143 | m_Type: 0 144 | m_PreserveAspect: 0 145 | m_FillCenter: 1 146 | m_FillMethod: 4 147 | m_FillAmount: 1 148 | m_FillClockwise: 1 149 | m_FillOrigin: 0 150 | --- !u!222 &35643683 151 | CanvasRenderer: 152 | m_ObjectHideFlags: 0 153 | m_PrefabParentObject: {fileID: 0} 154 | m_PrefabInternal: {fileID: 0} 155 | m_GameObject: {fileID: 35643680} 156 | --- !u!1 &35931040 157 | GameObject: 158 | m_ObjectHideFlags: 0 159 | m_PrefabParentObject: {fileID: 0} 160 | m_PrefabInternal: {fileID: 0} 161 | serializedVersion: 4 162 | m_Component: 163 | - 4: {fileID: 35931044} 164 | - 114: {fileID: 35931043} 165 | - 114: {fileID: 35931042} 166 | - 114: {fileID: 35931041} 167 | m_Layer: 0 168 | m_Name: EventSystem 169 | m_TagString: Untagged 170 | m_Icon: {fileID: 0} 171 | m_NavMeshLayer: 0 172 | m_StaticEditorFlags: 0 173 | m_IsActive: 1 174 | --- !u!114 &35931041 175 | MonoBehaviour: 176 | m_ObjectHideFlags: 0 177 | m_PrefabParentObject: {fileID: 0} 178 | m_PrefabInternal: {fileID: 0} 179 | m_GameObject: {fileID: 35931040} 180 | m_Enabled: 1 181 | m_EditorHideFlags: 0 182 | m_Script: {fileID: 1997211142, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 183 | m_Name: 184 | m_EditorClassIdentifier: 185 | m_ForceModuleActive: 0 186 | --- !u!114 &35931042 187 | MonoBehaviour: 188 | m_ObjectHideFlags: 0 189 | m_PrefabParentObject: {fileID: 0} 190 | m_PrefabInternal: {fileID: 0} 191 | m_GameObject: {fileID: 35931040} 192 | m_Enabled: 1 193 | m_EditorHideFlags: 0 194 | m_Script: {fileID: 1077351063, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 195 | m_Name: 196 | m_EditorClassIdentifier: 197 | m_HorizontalAxis: Horizontal 198 | m_VerticalAxis: Vertical 199 | m_SubmitButton: Submit 200 | m_CancelButton: Cancel 201 | m_InputActionsPerSecond: 10 202 | m_RepeatDelay: 0.5 203 | m_ForceModuleActive: 0 204 | --- !u!114 &35931043 205 | MonoBehaviour: 206 | m_ObjectHideFlags: 0 207 | m_PrefabParentObject: {fileID: 0} 208 | m_PrefabInternal: {fileID: 0} 209 | m_GameObject: {fileID: 35931040} 210 | m_Enabled: 1 211 | m_EditorHideFlags: 0 212 | m_Script: {fileID: -619905303, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 213 | m_Name: 214 | m_EditorClassIdentifier: 215 | m_FirstSelected: {fileID: 0} 216 | m_sendNavigationEvents: 1 217 | m_DragThreshold: 5 218 | --- !u!4 &35931044 219 | Transform: 220 | m_ObjectHideFlags: 0 221 | m_PrefabParentObject: {fileID: 0} 222 | m_PrefabInternal: {fileID: 0} 223 | m_GameObject: {fileID: 35931040} 224 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 225 | m_LocalPosition: {x: 0, y: 0, z: 0} 226 | m_LocalScale: {x: 1, y: 1, z: 1} 227 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 228 | m_Children: [] 229 | m_Father: {fileID: 0} 230 | m_RootOrder: 0 231 | --- !u!1001 &253384764 232 | Prefab: 233 | m_ObjectHideFlags: 0 234 | serializedVersion: 2 235 | m_Modification: 236 | m_TransformParent: {fileID: 0} 237 | m_Modifications: 238 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 239 | propertyPath: m_LocalPosition.x 240 | value: 0 241 | objectReference: {fileID: 0} 242 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 243 | propertyPath: m_LocalPosition.y 244 | value: 0 245 | objectReference: {fileID: 0} 246 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 247 | propertyPath: m_LocalPosition.z 248 | value: 0 249 | objectReference: {fileID: 0} 250 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 251 | propertyPath: m_LocalRotation.x 252 | value: 0 253 | objectReference: {fileID: 0} 254 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 255 | propertyPath: m_LocalRotation.y 256 | value: 0 257 | objectReference: {fileID: 0} 258 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 259 | propertyPath: m_LocalRotation.z 260 | value: 0 261 | objectReference: {fileID: 0} 262 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 263 | propertyPath: m_LocalRotation.w 264 | value: 1 265 | objectReference: {fileID: 0} 266 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 267 | propertyPath: m_RootOrder 268 | value: 2 269 | objectReference: {fileID: 0} 270 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 271 | propertyPath: m_AnchoredPosition.x 272 | value: 0 273 | objectReference: {fileID: 0} 274 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 275 | propertyPath: m_AnchoredPosition.y 276 | value: 0 277 | objectReference: {fileID: 0} 278 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 279 | propertyPath: m_SizeDelta.x 280 | value: 0 281 | objectReference: {fileID: 0} 282 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 283 | propertyPath: m_SizeDelta.y 284 | value: 0 285 | objectReference: {fileID: 0} 286 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 287 | propertyPath: m_AnchorMin.x 288 | value: 0 289 | objectReference: {fileID: 0} 290 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 291 | propertyPath: m_AnchorMin.y 292 | value: 0 293 | objectReference: {fileID: 0} 294 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 295 | propertyPath: m_AnchorMax.x 296 | value: 0 297 | objectReference: {fileID: 0} 298 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 299 | propertyPath: m_AnchorMax.y 300 | value: 0 301 | objectReference: {fileID: 0} 302 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 303 | propertyPath: m_Pivot.x 304 | value: 0 305 | objectReference: {fileID: 0} 306 | - target: {fileID: 22424616, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 307 | propertyPath: m_Pivot.y 308 | value: 0 309 | objectReference: {fileID: 0} 310 | m_RemovedComponents: [] 311 | m_ParentPrefab: {fileID: 100100000, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, type: 2} 312 | m_IsPrefabParent: 0 313 | --- !u!1 &269390681 314 | GameObject: 315 | m_ObjectHideFlags: 0 316 | m_PrefabParentObject: {fileID: 0} 317 | m_PrefabInternal: {fileID: 0} 318 | serializedVersion: 4 319 | m_Component: 320 | - 224: {fileID: 269390682} 321 | - 222: {fileID: 269390685} 322 | - 114: {fileID: 269390684} 323 | - 114: {fileID: 269390683} 324 | - 114: {fileID: 269390686} 325 | m_Layer: 5 326 | m_Name: FadeButton 327 | m_TagString: Untagged 328 | m_Icon: {fileID: 0} 329 | m_NavMeshLayer: 0 330 | m_StaticEditorFlags: 0 331 | m_IsActive: 1 332 | --- !u!224 &269390682 333 | RectTransform: 334 | m_ObjectHideFlags: 0 335 | m_PrefabParentObject: {fileID: 0} 336 | m_PrefabInternal: {fileID: 0} 337 | m_GameObject: {fileID: 269390681} 338 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 339 | m_LocalPosition: {x: 0, y: 0, z: 0} 340 | m_LocalScale: {x: 1, y: 1, z: 1} 341 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 342 | m_Children: [] 343 | m_Father: {fileID: 1632331144} 344 | m_RootOrder: 1 345 | m_AnchorMin: {x: 0.5, y: 0} 346 | m_AnchorMax: {x: 0.5, y: 0} 347 | m_AnchoredPosition: {x: -0.000015259, y: 32.6} 348 | m_SizeDelta: {x: 160, y: 30} 349 | m_Pivot: {x: 0.5, y: 0.5} 350 | --- !u!114 &269390683 351 | MonoBehaviour: 352 | m_ObjectHideFlags: 0 353 | m_PrefabParentObject: {fileID: 0} 354 | m_PrefabInternal: {fileID: 0} 355 | m_GameObject: {fileID: 269390681} 356 | m_Enabled: 1 357 | m_EditorHideFlags: 0 358 | m_Script: {fileID: 1392445389, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 359 | m_Name: 360 | m_EditorClassIdentifier: 361 | m_Navigation: 362 | m_Mode: 3 363 | m_SelectOnUp: {fileID: 0} 364 | m_SelectOnDown: {fileID: 0} 365 | m_SelectOnLeft: {fileID: 0} 366 | m_SelectOnRight: {fileID: 0} 367 | m_Transition: 1 368 | m_Colors: 369 | m_NormalColor: {r: 1, g: 1, b: 1, a: 1} 370 | m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1} 371 | m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1} 372 | m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} 373 | m_ColorMultiplier: 1 374 | m_FadeDuration: 0.1 375 | m_SpriteState: 376 | m_HighlightedSprite: {fileID: 0} 377 | m_PressedSprite: {fileID: 0} 378 | m_DisabledSprite: {fileID: 0} 379 | m_AnimationTriggers: 380 | m_NormalTrigger: Normal 381 | m_HighlightedTrigger: Highlighted 382 | m_PressedTrigger: Pressed 383 | m_DisabledTrigger: Disabled 384 | m_Interactable: 1 385 | m_TargetGraphic: {fileID: 269390684} 386 | m_OnClick: 387 | m_PersistentCalls: 388 | m_Calls: 389 | - m_Target: {fileID: 269390686} 390 | m_MethodName: Fadeout 391 | m_Mode: 1 392 | m_Arguments: 393 | m_ObjectArgument: {fileID: 0} 394 | m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine 395 | m_IntArgument: 0 396 | m_FloatArgument: 0 397 | m_StringArgument: 398 | m_BoolArgument: 0 399 | m_CallState: 2 400 | m_TypeName: UnityEngine.UI.Button+ButtonClickedEvent, UnityEngine.UI, Version=1.0.0.0, 401 | Culture=neutral, PublicKeyToken=null 402 | --- !u!114 &269390684 403 | MonoBehaviour: 404 | m_ObjectHideFlags: 0 405 | m_PrefabParentObject: {fileID: 0} 406 | m_PrefabInternal: {fileID: 0} 407 | m_GameObject: {fileID: 269390681} 408 | m_Enabled: 1 409 | m_EditorHideFlags: 0 410 | m_Script: {fileID: -765806418, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 411 | m_Name: 412 | m_EditorClassIdentifier: 413 | m_Material: {fileID: 0} 414 | m_Color: {r: 1, g: 1, b: 1, a: 1} 415 | m_RaycastTarget: 1 416 | m_OnCullStateChanged: 417 | m_PersistentCalls: 418 | m_Calls: [] 419 | m_TypeName: UnityEngine.UI.MaskableGraphic+CullStateChangedEvent, UnityEngine.UI, 420 | Version=1.0.0.0, Culture=neutral, PublicKeyToken=null 421 | m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} 422 | m_Type: 1 423 | m_PreserveAspect: 0 424 | m_FillCenter: 1 425 | m_FillMethod: 4 426 | m_FillAmount: 1 427 | m_FillClockwise: 1 428 | m_FillOrigin: 0 429 | --- !u!222 &269390685 430 | CanvasRenderer: 431 | m_ObjectHideFlags: 0 432 | m_PrefabParentObject: {fileID: 0} 433 | m_PrefabInternal: {fileID: 0} 434 | m_GameObject: {fileID: 269390681} 435 | --- !u!114 &269390686 436 | MonoBehaviour: 437 | m_ObjectHideFlags: 0 438 | m_PrefabParentObject: {fileID: 0} 439 | m_PrefabInternal: {fileID: 0} 440 | m_GameObject: {fileID: 269390681} 441 | m_Enabled: 1 442 | m_EditorHideFlags: 0 443 | m_Script: {fileID: 11500000, guid: bbba05fd375e70f4ba0ebc2b7513862b, type: 3} 444 | m_Name: 445 | m_EditorClassIdentifier: 446 | color1: {r: 1, g: 1, b: 1, a: 1} 447 | color2: {r: 1, g: 0, b: 0, a: 1} 448 | image: {fileID: 35643682} 449 | group: {fileID: 1632331148} 450 | fade: {fileID: 791241828} 451 | --- !u!114 &791241828 stripped 452 | MonoBehaviour: 453 | m_PrefabParentObject: {fileID: 11491604, guid: 53c22e1773be7f84aad8ed8b7b58fa6e, 454 | type: 2} 455 | m_PrefabInternal: {fileID: 253384764} 456 | m_Script: {fileID: 11500000, guid: d416d1715bbc06d4789612d1211da8d4, type: 3} 457 | --- !u!1 &1632331143 458 | GameObject: 459 | m_ObjectHideFlags: 0 460 | m_PrefabParentObject: {fileID: 0} 461 | m_PrefabInternal: {fileID: 0} 462 | serializedVersion: 4 463 | m_Component: 464 | - 224: {fileID: 1632331144} 465 | - 223: {fileID: 1632331147} 466 | - 114: {fileID: 1632331146} 467 | - 114: {fileID: 1632331145} 468 | - 225: {fileID: 1632331148} 469 | m_Layer: 5 470 | m_Name: Canvas 471 | m_TagString: Untagged 472 | m_Icon: {fileID: 0} 473 | m_NavMeshLayer: 0 474 | m_StaticEditorFlags: 0 475 | m_IsActive: 1 476 | --- !u!224 &1632331144 477 | RectTransform: 478 | m_ObjectHideFlags: 0 479 | m_PrefabParentObject: {fileID: 0} 480 | m_PrefabInternal: {fileID: 0} 481 | m_GameObject: {fileID: 1632331143} 482 | m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} 483 | m_LocalPosition: {x: 0, y: 0, z: 0} 484 | m_LocalScale: {x: 0, y: 0, z: 0} 485 | m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} 486 | m_Children: 487 | - {fileID: 35643681} 488 | - {fileID: 269390682} 489 | m_Father: {fileID: 0} 490 | m_RootOrder: 1 491 | m_AnchorMin: {x: 0, y: 0} 492 | m_AnchorMax: {x: 0, y: 0} 493 | m_AnchoredPosition: {x: 0, y: 0} 494 | m_SizeDelta: {x: 0, y: 0} 495 | m_Pivot: {x: 0, y: 0} 496 | --- !u!114 &1632331145 497 | MonoBehaviour: 498 | m_ObjectHideFlags: 0 499 | m_PrefabParentObject: {fileID: 0} 500 | m_PrefabInternal: {fileID: 0} 501 | m_GameObject: {fileID: 1632331143} 502 | m_Enabled: 1 503 | m_EditorHideFlags: 0 504 | m_Script: {fileID: 1301386320, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 505 | m_Name: 506 | m_EditorClassIdentifier: 507 | m_IgnoreReversedGraphics: 1 508 | m_BlockingObjects: 0 509 | m_BlockingMask: 510 | serializedVersion: 2 511 | m_Bits: 4294967295 512 | --- !u!114 &1632331146 513 | MonoBehaviour: 514 | m_ObjectHideFlags: 0 515 | m_PrefabParentObject: {fileID: 0} 516 | m_PrefabInternal: {fileID: 0} 517 | m_GameObject: {fileID: 1632331143} 518 | m_Enabled: 1 519 | m_EditorHideFlags: 0 520 | m_Script: {fileID: 1980459831, guid: f5f67c52d1564df4a8936ccd202a3bd8, type: 3} 521 | m_Name: 522 | m_EditorClassIdentifier: 523 | m_UiScaleMode: 1 524 | m_ReferencePixelsPerUnit: 100 525 | m_ScaleFactor: 1 526 | m_ReferenceResolution: {x: 640, y: 480} 527 | m_ScreenMatchMode: 2 528 | m_MatchWidthOrHeight: 0 529 | m_PhysicalUnit: 3 530 | m_FallbackScreenDPI: 96 531 | m_DefaultSpriteDPI: 96 532 | m_DynamicPixelsPerUnit: 1 533 | --- !u!223 &1632331147 534 | Canvas: 535 | m_ObjectHideFlags: 0 536 | m_PrefabParentObject: {fileID: 0} 537 | m_PrefabInternal: {fileID: 0} 538 | m_GameObject: {fileID: 1632331143} 539 | m_Enabled: 1 540 | serializedVersion: 2 541 | m_RenderMode: 0 542 | m_Camera: {fileID: 0} 543 | m_PlaneDistance: 100 544 | m_PixelPerfect: 0 545 | m_ReceivesEvents: 1 546 | m_OverrideSorting: 0 547 | m_OverridePixelPerfect: 0 548 | m_SortingBucketNormalizedSize: 0 549 | m_SortingLayerID: 0 550 | m_SortingOrder: 0 551 | m_TargetDisplay: 0 552 | --- !u!225 &1632331148 553 | CanvasGroup: 554 | m_ObjectHideFlags: 0 555 | m_PrefabParentObject: {fileID: 0} 556 | m_PrefabInternal: {fileID: 0} 557 | m_GameObject: {fileID: 1632331143} 558 | m_Enabled: 1 559 | m_Alpha: 1 560 | m_Interactable: 1 561 | m_BlocksRaycasts: 1 562 | m_IgnoreParentGroups: 0 563 | -------------------------------------------------------------------------------- /Assets/Fade/Samples/Transition.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7ee9ac0a36f0f643bcfd5fa8b463b45 3 | timeCreated: 1446560398 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Fade/Samples/UI.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71a8b948cdd79f148af83ef76acd22c8 3 | timeCreated: 1446509252 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /Assets/Fade/Samples/grd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsubaki/FadeCamera2/aebafabad3dd28092c4c68223df60fbb39043efe/Assets/Fade/Samples/grd.png -------------------------------------------------------------------------------- /Assets/Fade/Samples/grd.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f56b3d529d22d184dbc46ac81f777207 3 | timeCreated: 1450369668 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 1 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 4 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: 1 30 | maxTextureSize: 512 31 | textureSettings: 32 | filterMode: 0 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: -1 36 | nPOTScale: 1 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 5 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | serializedVersion: 2 53 | sprites: [] 54 | outline: [] 55 | spritePackingTag: 56 | userData: 57 | assetBundleName: 58 | assetBundleVariant: 59 | -------------------------------------------------------------------------------- /Assets/Fade/Samples/test.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsubaki/FadeCamera2/aebafabad3dd28092c4c68223df60fbb39043efe/Assets/Fade/Samples/test.png -------------------------------------------------------------------------------- /Assets/Fade/Samples/test.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce240ce0716bc4e629f17c7808a0764d 3 | labels: 4 | - FadecamCrossfade 5 | - FadecamSample2 6 | TextureImporter: 7 | fileIDToRecycleName: {} 8 | serializedVersion: 2 9 | mipmaps: 10 | mipMapMode: 0 11 | enableMipMap: 1 12 | linearTexture: 0 13 | correctGamma: 0 14 | fadeOut: 0 15 | borderMipMap: 0 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | grayScaleToAlpha: 1 25 | generateCubemap: 0 26 | cubemapConvolution: 0 27 | cubemapConvolutionSteps: 4 28 | cubemapConvolutionExponent: 1.5 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 512 32 | textureSettings: 33 | filterMode: 0 34 | aniso: -1 35 | mipBias: -1 36 | wrapMode: -1 37 | nPOTScale: 1 38 | lightmap: 0 39 | rGBM: 0 40 | compressionQuality: 50 41 | allowsAlphaSplitting: 0 42 | spriteMode: 0 43 | spriteExtrude: 1 44 | spriteMeshType: 1 45 | alignment: 0 46 | spritePivot: {x: 0.5, y: 0.5} 47 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 48 | spritePixelsToUnits: 100 49 | alphaIsTransparency: 1 50 | textureType: 5 51 | buildTargetSettings: 52 | - buildTarget: Android 53 | maxTextureSize: 512 54 | textureFormat: 1 55 | compressionQuality: 50 56 | allowsAlphaSplitting: 0 57 | spriteSheet: 58 | serializedVersion: 2 59 | sprites: [] 60 | outline: [] 61 | spritePackingTag: 62 | userData: 63 | assetBundleName: 64 | assetBundleVariant: 65 | -------------------------------------------------------------------------------- /Assets/Fade/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3868e38f2e1023849ab2e83b2d826880 3 | folderAsset: yes 4 | timeCreated: 1446562112 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /Assets/Fade/Scripts/Fade.cs: -------------------------------------------------------------------------------- 1 | /* 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 yamamura tatsuhiko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | using UnityEngine; 24 | using System.Collections; 25 | using UnityEngine.Assertions; 26 | 27 | public class Fade : MonoBehaviour 28 | { 29 | IFade fade; 30 | 31 | void Start () 32 | { 33 | Init (); 34 | fade.Range = cutoutRange; 35 | } 36 | 37 | float cutoutRange; 38 | 39 | void Init () 40 | { 41 | fade = GetComponent (); 42 | } 43 | 44 | void OnValidate () 45 | { 46 | Init (); 47 | fade.Range = cutoutRange; 48 | } 49 | 50 | IEnumerator FadeoutCoroutine (float time, System.Action action) 51 | { 52 | float endTime = Time.timeSinceLevelLoad + time * (cutoutRange); 53 | 54 | var endFrame = new WaitForEndOfFrame (); 55 | 56 | while (Time.timeSinceLevelLoad <= endTime) { 57 | cutoutRange = (endTime - Time.timeSinceLevelLoad) / time; 58 | fade.Range = cutoutRange; 59 | yield return endFrame; 60 | } 61 | cutoutRange = 0; 62 | fade.Range = cutoutRange; 63 | 64 | if (action != null) { 65 | action (); 66 | } 67 | } 68 | 69 | IEnumerator FadeinCoroutine (float time, System.Action action) 70 | { 71 | float endTime = Time.timeSinceLevelLoad + time * (1 - cutoutRange); 72 | 73 | var endFrame = new WaitForEndOfFrame (); 74 | 75 | while (Time.timeSinceLevelLoad <= endTime) { 76 | cutoutRange = 1 - ((endTime - Time.timeSinceLevelLoad) / time); 77 | fade.Range = cutoutRange; 78 | yield return endFrame; 79 | } 80 | cutoutRange = 1; 81 | fade.Range = cutoutRange; 82 | 83 | if (action != null) { 84 | action (); 85 | } 86 | } 87 | 88 | public Coroutine FadeOut (float time, System.Action action) 89 | { 90 | StopAllCoroutines (); 91 | return StartCoroutine (FadeoutCoroutine (time, action)); 92 | } 93 | 94 | public Coroutine FadeOut (float time) 95 | { 96 | return FadeOut (time, null); 97 | } 98 | 99 | public Coroutine FadeIn (float time, System.Action action) 100 | { 101 | StopAllCoroutines (); 102 | return StartCoroutine (FadeinCoroutine (time, action)); 103 | } 104 | 105 | public Coroutine FadeIn (float time) 106 | { 107 | return FadeIn (time, null); 108 | } 109 | } -------------------------------------------------------------------------------- /Assets/Fade/Scripts/Fade.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d416d1715bbc06d4789612d1211da8d4 3 | timeCreated: 1446557843 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /Assets/Fade/Scripts/FadeImage.cs: -------------------------------------------------------------------------------- 1 | /* 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 yamamura tatsuhiko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | using UnityEngine; 24 | using System.Collections; 25 | using UnityEngine.UI; 26 | 27 | public class FadeImage : UnityEngine.UI.Graphic , IFade 28 | { 29 | [SerializeField] 30 | private Texture maskTexture = null; 31 | 32 | [SerializeField, Range (0, 1)] 33 | private float cutoutRange; 34 | 35 | public float Range { 36 | get { 37 | return cutoutRange; 38 | } 39 | set { 40 | cutoutRange = value; 41 | UpdateMaskCutout (cutoutRange); 42 | } 43 | } 44 | 45 | protected override void Start () 46 | { 47 | base.Start (); 48 | UpdateMaskTexture (maskTexture); 49 | } 50 | 51 | private void UpdateMaskCutout (float range) 52 | { 53 | enabled = true; 54 | material.SetFloat ("_Range", 1 - range); 55 | 56 | if (range <= 0) { 57 | this.enabled = false; 58 | } 59 | } 60 | 61 | public void UpdateMaskTexture (Texture texture) 62 | { 63 | material.SetTexture ("_MaskTex", texture); 64 | material.SetColor ("_Color", color); 65 | } 66 | 67 | #if UNITY_EDITOR 68 | protected override void OnValidate () 69 | { 70 | base.OnValidate (); 71 | UpdateMaskCutout (Range); 72 | UpdateMaskTexture (maskTexture); 73 | } 74 | #endif 75 | } 76 | -------------------------------------------------------------------------------- /Assets/Fade/Scripts/FadeImage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 448623d86f85950479f00cc5367d0ca9 3 | timeCreated: 1446563429 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - m_Material: {fileID: 2100000, guid: c08cd46eaf9a0d34eb221ba2978cc476, type: 2} 9 | - maskTexture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0} 10 | executionOrder: 0 11 | icon: {instanceID: 0} 12 | userData: 13 | assetBundleName: 14 | assetBundleVariant: 15 | -------------------------------------------------------------------------------- /Assets/Fade/Scripts/FadeUI.cs: -------------------------------------------------------------------------------- 1 | /* 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 yamamura tatsuhiko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | using UnityEngine; 24 | using System.Collections; 25 | using UnityEngine.UI; 26 | 27 | [RequireComponent (typeof(RawImage))] 28 | [RequireComponent (typeof(Mask))] 29 | public class FadeUI : MonoBehaviour, IFade 30 | { 31 | 32 | [SerializeField, Range (0, 1)] 33 | private float cutoutRange; 34 | 35 | public float Range { 36 | get { 37 | return cutoutRange; 38 | } 39 | set { 40 | cutoutRange = value; 41 | UpdateMaskCutout (cutoutRange); 42 | } 43 | } 44 | 45 | [SerializeField] Material mat = null; 46 | [SerializeField] RenderTexture rt = null; 47 | 48 | [SerializeField] Texture texture = null; 49 | 50 | private void UpdateMaskCutout (float range) 51 | { 52 | mat.SetFloat ("_Range", range); 53 | 54 | UnityEngine.Graphics.Blit (texture, rt, mat); 55 | 56 | var mask = GetComponent (); 57 | mask.enabled = false; 58 | mask.enabled = true; 59 | } 60 | } 61 | -------------------------------------------------------------------------------- /Assets/Fade/Scripts/FadeUI.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: def0ebf35fa4cab448c8a4f16b096e97 3 | timeCreated: 1446563422 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: 8 | - mat: {fileID: 2100000, guid: 4c710d45ee235444caea9b50aef4d3c9, type: 2} 9 | - rt: {fileID: 8400000, guid: fe99870ba03c2f343b48e98d34ac4fc9, type: 2} 10 | - texture: {fileID: 10305, guid: 0000000000000000f000000000000000, type: 0} 11 | executionOrder: 0 12 | icon: {instanceID: 0} 13 | userData: 14 | assetBundleName: 15 | assetBundleVariant: 16 | -------------------------------------------------------------------------------- /Assets/Fade/Scripts/IFade.cs: -------------------------------------------------------------------------------- 1 | /* 2 | The MIT License (MIT) 3 | 4 | Copyright (c) 2013 yamamura tatsuhiko 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy of 7 | this software and associated documentation files (the "Software"), to deal in 8 | the Software without restriction, including without limitation the rights to 9 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of 10 | the Software, and to permit persons to whom the Software is furnished to do so, 11 | subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS 18 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR 19 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER 20 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 | */ 23 | using UnityEngine; 24 | using System.Collections; 25 | 26 | public interface IFade 27 | { 28 | float Range{get; set;} 29 | } 30 | 31 | -------------------------------------------------------------------------------- /Assets/Fade/Scripts/IFade.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6e9d171299adb504fac0caf6274ecac6 3 | timeCreated: 1446557872 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /FadeCamera2 sample.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsubaki/FadeCamera2/aebafabad3dd28092c4c68223df60fbb39043efe/FadeCamera2 sample.unitypackage -------------------------------------------------------------------------------- /FadeCamera2.unitypackage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsubaki/FadeCamera2/aebafabad3dd28092c4c68223df60fbb39043efe/FadeCamera2.unitypackage -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 yamamura tatsuhiko 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | m_SpeedOfSound: 347 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_DSPBufferSize: 0 12 | -------------------------------------------------------------------------------- /ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | m_Gravity: {x: 0, y: -9.81000042, z: 0} 7 | m_DefaultMaterial: {fileID: 0} 8 | m_BounceThreshold: 2 9 | m_SleepVelocity: .150000006 10 | m_SleepAngularVelocity: .140000001 11 | m_MaxAngularVelocity: 7 12 | m_MinPenetrationForPenalty: .00999999978 13 | m_SolverIterationCount: 6 14 | m_RaycastsHitTriggers: 1 15 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 16 | -------------------------------------------------------------------------------- /ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/VisualNovelToolkit/Examples/Example Dialog/Example Dialog.unity 10 | -------------------------------------------------------------------------------- /ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_ExternalVersionControlSupport: Disabled 8 | m_SerializationMode: 2 9 | m_WebSecurityEmulationEnabled: 0 10 | m_WebSecurityEmulationHostUrl: http://www.mydomain.com/mygame.unity3d 11 | -------------------------------------------------------------------------------- /ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_LegacyDeferred: 14 | m_Mode: 1 15 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 16 | m_AlwaysIncludedShaders: 17 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 18 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 19 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 20 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 21 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 22 | - {fileID: 10782, guid: 0000000000000000f000000000000000, type: 0} 23 | m_PreloadedShaders: [] 24 | m_ShaderSettings: 25 | useScreenSpaceShadows: 1 26 | m_BuildTargetShaderSettings: [] 27 | m_LightmapStripping: 0 28 | m_FogStripping: 0 29 | m_LightmapKeepPlain: 1 30 | m_LightmapKeepDirCombined: 1 31 | m_LightmapKeepDirSeparate: 1 32 | m_LightmapKeepDynamicPlain: 1 33 | m_LightmapKeepDynamicDirCombined: 1 34 | m_LightmapKeepDynamicDirSeparate: 1 35 | m_FogKeepLinear: 1 36 | m_FogKeepExp: 1 37 | m_FogKeepExp2: 1 38 | -------------------------------------------------------------------------------- /ProjectSettings/InputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!13 &1 4 | InputManager: 5 | m_ObjectHideFlags: 0 6 | m_Axes: 7 | - serializedVersion: 3 8 | m_Name: Horizontal 9 | descriptiveName: 10 | descriptiveNegativeName: 11 | negativeButton: left 12 | positiveButton: right 13 | altNegativeButton: a 14 | altPositiveButton: d 15 | gravity: 3 16 | dead: .00100000005 17 | sensitivity: 3 18 | snap: 1 19 | invert: 0 20 | type: 0 21 | axis: 0 22 | joyNum: 0 23 | - serializedVersion: 3 24 | m_Name: Vertical 25 | descriptiveName: 26 | descriptiveNegativeName: 27 | negativeButton: down 28 | positiveButton: up 29 | altNegativeButton: s 30 | altPositiveButton: w 31 | gravity: 3 32 | dead: .00100000005 33 | sensitivity: 3 34 | snap: 1 35 | invert: 0 36 | type: 0 37 | axis: 0 38 | joyNum: 0 39 | - serializedVersion: 3 40 | m_Name: Fire1 41 | descriptiveName: 42 | descriptiveNegativeName: 43 | negativeButton: 44 | positiveButton: left ctrl 45 | altNegativeButton: 46 | altPositiveButton: mouse 0 47 | gravity: 1000 48 | dead: .00100000005 49 | sensitivity: 1000 50 | snap: 0 51 | invert: 0 52 | type: 0 53 | axis: 0 54 | joyNum: 0 55 | - serializedVersion: 3 56 | m_Name: Fire2 57 | descriptiveName: 58 | descriptiveNegativeName: 59 | negativeButton: 60 | positiveButton: left alt 61 | altNegativeButton: 62 | altPositiveButton: mouse 1 63 | gravity: 1000 64 | dead: .00100000005 65 | sensitivity: 1000 66 | snap: 0 67 | invert: 0 68 | type: 0 69 | axis: 0 70 | joyNum: 0 71 | - serializedVersion: 3 72 | m_Name: Fire3 73 | descriptiveName: 74 | descriptiveNegativeName: 75 | negativeButton: 76 | positiveButton: left cmd 77 | altNegativeButton: 78 | altPositiveButton: mouse 2 79 | gravity: 1000 80 | dead: .00100000005 81 | sensitivity: 1000 82 | snap: 0 83 | invert: 0 84 | type: 0 85 | axis: 0 86 | joyNum: 0 87 | - serializedVersion: 3 88 | m_Name: Jump 89 | descriptiveName: 90 | descriptiveNegativeName: 91 | negativeButton: 92 | positiveButton: space 93 | altNegativeButton: 94 | altPositiveButton: 95 | gravity: 1000 96 | dead: .00100000005 97 | sensitivity: 1000 98 | snap: 0 99 | invert: 0 100 | type: 0 101 | axis: 0 102 | joyNum: 0 103 | - serializedVersion: 3 104 | m_Name: Mouse X 105 | descriptiveName: 106 | descriptiveNegativeName: 107 | negativeButton: 108 | positiveButton: 109 | altNegativeButton: 110 | altPositiveButton: 111 | gravity: 0 112 | dead: 0 113 | sensitivity: .100000001 114 | snap: 0 115 | invert: 0 116 | type: 1 117 | axis: 0 118 | joyNum: 0 119 | - serializedVersion: 3 120 | m_Name: Mouse Y 121 | descriptiveName: 122 | descriptiveNegativeName: 123 | negativeButton: 124 | positiveButton: 125 | altNegativeButton: 126 | altPositiveButton: 127 | gravity: 0 128 | dead: 0 129 | sensitivity: .100000001 130 | snap: 0 131 | invert: 0 132 | type: 1 133 | axis: 1 134 | joyNum: 0 135 | - serializedVersion: 3 136 | m_Name: Mouse ScrollWheel 137 | descriptiveName: 138 | descriptiveNegativeName: 139 | negativeButton: 140 | positiveButton: 141 | altNegativeButton: 142 | altPositiveButton: 143 | gravity: 0 144 | dead: 0 145 | sensitivity: .100000001 146 | snap: 0 147 | invert: 0 148 | type: 1 149 | axis: 2 150 | joyNum: 0 151 | - serializedVersion: 3 152 | m_Name: Horizontal 153 | descriptiveName: 154 | descriptiveNegativeName: 155 | negativeButton: 156 | positiveButton: 157 | altNegativeButton: 158 | altPositiveButton: 159 | gravity: 0 160 | dead: .189999998 161 | sensitivity: 1 162 | snap: 0 163 | invert: 0 164 | type: 2 165 | axis: 0 166 | joyNum: 0 167 | - serializedVersion: 3 168 | m_Name: Vertical 169 | descriptiveName: 170 | descriptiveNegativeName: 171 | negativeButton: 172 | positiveButton: 173 | altNegativeButton: 174 | altPositiveButton: 175 | gravity: 0 176 | dead: .189999998 177 | sensitivity: 1 178 | snap: 0 179 | invert: 1 180 | type: 2 181 | axis: 1 182 | joyNum: 0 183 | - serializedVersion: 3 184 | m_Name: Fire1 185 | descriptiveName: 186 | descriptiveNegativeName: 187 | negativeButton: 188 | positiveButton: joystick button 0 189 | altNegativeButton: 190 | altPositiveButton: 191 | gravity: 1000 192 | dead: .00100000005 193 | sensitivity: 1000 194 | snap: 0 195 | invert: 0 196 | type: 0 197 | axis: 0 198 | joyNum: 0 199 | - serializedVersion: 3 200 | m_Name: Fire2 201 | descriptiveName: 202 | descriptiveNegativeName: 203 | negativeButton: 204 | positiveButton: joystick button 1 205 | altNegativeButton: 206 | altPositiveButton: 207 | gravity: 1000 208 | dead: .00100000005 209 | sensitivity: 1000 210 | snap: 0 211 | invert: 0 212 | type: 0 213 | axis: 0 214 | joyNum: 0 215 | - serializedVersion: 3 216 | m_Name: Fire3 217 | descriptiveName: 218 | descriptiveNegativeName: 219 | negativeButton: 220 | positiveButton: joystick button 2 221 | altNegativeButton: 222 | altPositiveButton: 223 | gravity: 1000 224 | dead: .00100000005 225 | sensitivity: 1000 226 | snap: 0 227 | invert: 0 228 | type: 0 229 | axis: 0 230 | joyNum: 0 231 | - serializedVersion: 3 232 | m_Name: Jump 233 | descriptiveName: 234 | descriptiveNegativeName: 235 | negativeButton: 236 | positiveButton: joystick button 3 237 | altNegativeButton: 238 | altPositiveButton: 239 | gravity: 1000 240 | dead: .00100000005 241 | sensitivity: 1000 242 | snap: 0 243 | invert: 0 244 | type: 0 245 | axis: 0 246 | joyNum: 0 247 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsubaki/FadeCamera2/aebafabad3dd28092c4c68223df60fbb39043efe/ProjectSettings/NavMeshAreas.asset -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshLayers: 5 | m_ObjectHideFlags: 0 6 | Built-in Layer 0: 7 | name: Default 8 | cost: 1 9 | editType: 2 10 | Built-in Layer 1: 11 | name: Not Walkable 12 | cost: 1 13 | editType: 0 14 | Built-in Layer 2: 15 | name: Jump 16 | cost: 2 17 | editType: 2 18 | User Layer 0: 19 | name: 20 | cost: 1 21 | editType: 3 22 | User Layer 1: 23 | name: 24 | cost: 1 25 | editType: 3 26 | User Layer 2: 27 | name: 28 | cost: 1 29 | editType: 3 30 | User Layer 3: 31 | name: 32 | cost: 1 33 | editType: 3 34 | User Layer 4: 35 | name: 36 | cost: 1 37 | editType: 3 38 | User Layer 5: 39 | name: 40 | cost: 1 41 | editType: 3 42 | User Layer 6: 43 | name: 44 | cost: 1 45 | editType: 3 46 | User Layer 7: 47 | name: 48 | cost: 1 49 | editType: 3 50 | User Layer 8: 51 | name: 52 | cost: 1 53 | editType: 3 54 | User Layer 9: 55 | name: 56 | cost: 1 57 | editType: 3 58 | User Layer 10: 59 | name: 60 | cost: 1 61 | editType: 3 62 | User Layer 11: 63 | name: 64 | cost: 1 65 | editType: 3 66 | User Layer 12: 67 | name: 68 | cost: 1 69 | editType: 3 70 | User Layer 13: 71 | name: 72 | cost: 1 73 | editType: 3 74 | User Layer 14: 75 | name: 76 | cost: 1 77 | editType: 3 78 | User Layer 15: 79 | name: 80 | cost: 1 81 | editType: 3 82 | User Layer 16: 83 | name: 84 | cost: 1 85 | editType: 3 86 | User Layer 17: 87 | name: 88 | cost: 1 89 | editType: 3 90 | User Layer 18: 91 | name: 92 | cost: 1 93 | editType: 3 94 | User Layer 19: 95 | name: 96 | cost: 1 97 | editType: 3 98 | User Layer 20: 99 | name: 100 | cost: 1 101 | editType: 3 102 | User Layer 21: 103 | name: 104 | cost: 1 105 | editType: 3 106 | User Layer 22: 107 | name: 108 | cost: 1 109 | editType: 3 110 | User Layer 23: 111 | name: 112 | cost: 1 113 | editType: 3 114 | User Layer 24: 115 | name: 116 | cost: 1 117 | editType: 3 118 | User Layer 25: 119 | name: 120 | cost: 1 121 | editType: 3 122 | User Layer 26: 123 | name: 124 | cost: 1 125 | editType: 3 126 | User Layer 27: 127 | name: 128 | cost: 1 129 | editType: 3 130 | User Layer 28: 131 | name: 132 | cost: 1 133 | editType: 3 134 | -------------------------------------------------------------------------------- /ProjectSettings/NavMeshLayers.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00000000000000004100000000000000 3 | LibraryAssetImporter: 4 | userData: 5 | assetBundleName: 6 | assetBundleVariant: 7 | -------------------------------------------------------------------------------- /ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tsubaki/FadeCamera2/aebafabad3dd28092c4c68223df60fbb39043efe/ProjectSettings/Physics2DSettings.asset -------------------------------------------------------------------------------- /ProjectSettings/ProjectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!129 &1 4 | PlayerSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 8 7 | AndroidProfiler: 0 8 | defaultScreenOrientation: 3 9 | targetDevice: 2 10 | useOnDemandResources: 0 11 | accelerometerFrequency: 60 12 | companyName: YourCompany 13 | productName: ViNoApp 14 | defaultCursor: {fileID: 0} 15 | cursorHotspot: {x: 0, y: 0} 16 | m_ShowUnitySplashScreen: 1 17 | m_VirtualRealitySplashScreen: {fileID: 0} 18 | defaultScreenWidth: 854 19 | defaultScreenHeight: 480 20 | defaultScreenWidthWeb: 854 21 | defaultScreenHeightWeb: 480 22 | m_RenderingPath: 1 23 | m_MobileRenderingPath: 1 24 | m_ActiveColorSpace: 0 25 | m_MTRendering: 1 26 | m_MobileMTRendering: 0 27 | m_Stereoscopic3D: 0 28 | iosShowActivityIndicatorOnLoading: -1 29 | androidShowActivityIndicatorOnLoading: 0 30 | iosAppInBackgroundBehavior: 0 31 | displayResolutionDialog: 1 32 | iosAllowHTTPDownload: 1 33 | allowedAutorotateToPortrait: 1 34 | allowedAutorotateToPortraitUpsideDown: 1 35 | allowedAutorotateToLandscapeRight: 1 36 | allowedAutorotateToLandscapeLeft: 1 37 | useOSAutorotation: 1 38 | use32BitDisplayBuffer: 1 39 | disableDepthAndStencilBuffers: 0 40 | defaultIsFullScreen: 0 41 | defaultIsNativeResolution: 1 42 | runInBackground: 0 43 | captureSingleScreen: 0 44 | Override IPod Music: 0 45 | Prepare IOS For Recording: 0 46 | submitAnalytics: 1 47 | usePlayerLog: 1 48 | bakeCollisionMeshes: 0 49 | forceSingleInstance: 0 50 | resizableWindow: 0 51 | useMacAppStoreValidation: 0 52 | gpuSkinning: 0 53 | xboxPIXTextureCapture: 0 54 | xboxEnableAvatar: 0 55 | xboxEnableKinect: 0 56 | xboxEnableKinectAutoTracking: 0 57 | xboxEnableFitness: 0 58 | visibleInBackground: 0 59 | allowFullscreenSwitch: 1 60 | macFullscreenMode: 2 61 | d3d9FullscreenMode: 1 62 | d3d11FullscreenMode: 1 63 | xboxSpeechDB: 0 64 | xboxEnableHeadOrientation: 0 65 | xboxEnableGuest: 0 66 | xboxEnablePIXSampling: 0 67 | n3dsDisableStereoscopicView: 0 68 | n3dsEnableSharedListOpt: 1 69 | n3dsEnableVSync: 0 70 | uiUse16BitDepthBuffer: 0 71 | xboxOneResolution: 0 72 | ps3SplashScreen: {fileID: 0} 73 | videoMemoryForVertexBuffers: 0 74 | psp2PowerMode: 0 75 | psp2AcquireBGM: 1 76 | wiiUTVResolution: 0 77 | wiiUGamePadMSAA: 1 78 | wiiUSupportsNunchuk: 0 79 | wiiUSupportsClassicController: 0 80 | wiiUSupportsBalanceBoard: 0 81 | wiiUSupportsMotionPlus: 0 82 | wiiUSupportsProController: 0 83 | wiiUAllowScreenCapture: 1 84 | wiiUControllerCount: 0 85 | m_SupportedAspectRatios: 86 | 4:3: 1 87 | 5:4: 1 88 | 16:10: 1 89 | 16:9: 1 90 | Others: 1 91 | bundleIdentifier: com.YourCompany.ViNoApp 92 | bundleVersion: 1.0 93 | preloadedAssets: [] 94 | metroEnableIndependentInputSource: 0 95 | metroEnableLowLatencyPresentationAPI: 0 96 | xboxOneDisableKinectGpuReservation: 0 97 | virtualRealitySupported: 0 98 | productGUID: 04a71781262bd58488b05a3a07d0bea5 99 | AndroidBundleVersionCode: 1 100 | AndroidMinSdkVersion: 9 101 | AndroidPreferredInstallLocation: 1 102 | aotOptions: 103 | apiCompatibilityLevel: 2 104 | stripEngineCode: 1 105 | iPhoneStrippingLevel: 0 106 | iPhoneScriptCallOptimization: 0 107 | iPhoneBuildNumber: 0 108 | ForceInternetPermission: 0 109 | ForceSDCardPermission: 1 110 | CreateWallpaper: 0 111 | APKExpansionFiles: 0 112 | preloadShaders: 0 113 | StripUnusedMeshComponents: 0 114 | VertexChannelCompressionMask: 115 | serializedVersion: 2 116 | m_Bits: 238 117 | iPhoneSdkVersion: 988 118 | iPhoneTargetOSVersion: 22 119 | uIPrerenderedIcon: 0 120 | uIRequiresPersistentWiFi: 0 121 | uIRequiresFullScreen: 1 122 | uIStatusBarHidden: 1 123 | uIExitOnSuspend: 0 124 | uIStatusBarStyle: 0 125 | iPhoneSplashScreen: {fileID: 0} 126 | iPhoneHighResSplashScreen: {fileID: 0} 127 | iPhoneTallHighResSplashScreen: {fileID: 0} 128 | iPhone47inSplashScreen: {fileID: 0} 129 | iPhone55inPortraitSplashScreen: {fileID: 0} 130 | iPhone55inLandscapeSplashScreen: {fileID: 0} 131 | iPadPortraitSplashScreen: {fileID: 0} 132 | iPadHighResPortraitSplashScreen: {fileID: 0} 133 | iPadLandscapeSplashScreen: {fileID: 0} 134 | iPadHighResLandscapeSplashScreen: {fileID: 0} 135 | appleTVSplashScreen: {fileID: 0} 136 | iOSLaunchScreenType: 0 137 | iOSLaunchScreenPortrait: {fileID: 0} 138 | iOSLaunchScreenLandscape: {fileID: 0} 139 | iOSLaunchScreenBackgroundColor: 140 | serializedVersion: 2 141 | rgba: 0 142 | iOSLaunchScreenFillPct: 100 143 | iOSLaunchScreenSize: 100 144 | iOSLaunchScreenCustomXibPath: 145 | iOSLaunchScreeniPadType: 0 146 | iOSLaunchScreeniPadImage: {fileID: 0} 147 | iOSLaunchScreeniPadBackgroundColor: 148 | serializedVersion: 2 149 | rgba: 0 150 | iOSLaunchScreeniPadFillPct: 100 151 | iOSLaunchScreeniPadSize: 100 152 | iOSLaunchScreeniPadCustomXibPath: 153 | iOSDeviceRequirements: [] 154 | AndroidTargetDevice: 0 155 | AndroidSplashScreenScale: 0 156 | androidSplashScreen: {fileID: 0} 157 | AndroidKeystoreName: 158 | AndroidKeyaliasName: 159 | AndroidTVCompatibility: 1 160 | AndroidIsGame: 1 161 | androidEnableBanner: 1 162 | m_AndroidBanners: 163 | - width: 320 164 | height: 180 165 | banner: {fileID: 0} 166 | androidGamepadSupportLevel: 0 167 | resolutionDialogBanner: {fileID: 0} 168 | m_BuildTargetIcons: 169 | - m_BuildTarget: 170 | m_Icons: 171 | - serializedVersion: 2 172 | m_Icon: {fileID: 0} 173 | m_Width: 128 174 | m_Height: 128 175 | m_BuildTargetBatching: [] 176 | m_BuildTargetGraphicsAPIs: 177 | - m_BuildTarget: WindowsStandaloneSupport 178 | m_APIs: 01000000 179 | m_Automatic: 0 180 | - m_BuildTarget: AndroidPlayer 181 | m_APIs: 08000000 182 | m_Automatic: 0 183 | webPlayerTemplate: APPLICATION:Default 184 | m_TemplateCustomTags: {} 185 | wiiUTitleID: 0005000011000000 186 | wiiUGroupID: 00010000 187 | wiiUCommonSaveSize: 4096 188 | wiiUAccountSaveSize: 2048 189 | wiiUOlvAccessKey: 0 190 | wiiUTinCode: 0 191 | wiiUJoinGameId: 0 192 | wiiUJoinGameModeMask: 0000000000000000 193 | wiiUCommonBossSize: 0 194 | wiiUAccountBossSize: 0 195 | wiiUAddOnUniqueIDs: [] 196 | wiiUMainThreadStackSize: 3072 197 | wiiULoaderThreadStackSize: 1024 198 | wiiUSystemHeapSize: 128 199 | wiiUTVStartupScreen: {fileID: 0} 200 | wiiUGamePadStartupScreen: {fileID: 0} 201 | wiiUProfilerLibPath: 202 | actionOnDotNetUnhandledException: 1 203 | enableInternalProfiler: 0 204 | logObjCUncaughtExceptions: 1 205 | enableCrashReportAPI: 0 206 | locationUsageDescription: 207 | XboxTitleId: 208 | XboxImageXexPath: 209 | XboxSpaPath: 210 | XboxGenerateSpa: 0 211 | XboxDeployKinectResources: 0 212 | XboxSplashScreen: {fileID: 0} 213 | xboxEnableSpeech: 0 214 | xboxAdditionalTitleMemorySize: 0 215 | xboxDeployKinectHeadOrientation: 0 216 | xboxDeployKinectHeadPosition: 0 217 | ps3TitleConfigPath: 218 | ps3DLCConfigPath: 219 | ps3ThumbnailPath: 220 | ps3BackgroundPath: 221 | ps3SoundPath: 222 | ps3NPAgeRating: 12 223 | ps3TrophyCommId: 224 | ps3NpCommunicationPassphrase: 225 | ps3TrophyPackagePath: 226 | ps3BootCheckMaxSaveGameSizeKB: 128 227 | ps3TrophyCommSig: 228 | ps3SaveGameSlots: 1 229 | ps3TrialMode: 0 230 | ps3VideoMemoryForAudio: 0 231 | ps3EnableVerboseMemoryStats: 0 232 | ps3UseSPUForUmbra: 0 233 | ps3EnableMoveSupport: 1 234 | ps3DisableDolbyEncoding: 0 235 | ps4NPAgeRating: 12 236 | ps4NPTitleSecret: 237 | ps4NPTrophyPackPath: 238 | ps4ParentalLevel: 1 239 | ps4ContentID: ED1633-NPXX51362_00-0000000000000000 240 | ps4Category: 0 241 | ps4MasterVersion: 01.00 242 | ps4AppVersion: 01.00 243 | ps4AppType: 0 244 | ps4ParamSfxPath: 245 | ps4VideoOutPixelFormat: 0 246 | ps4VideoOutResolution: 4 247 | ps4PronunciationXMLPath: 248 | ps4PronunciationSIGPath: 249 | ps4BackgroundImagePath: 250 | ps4StartupImagePath: 251 | ps4SaveDataImagePath: 252 | ps4SdkOverride: 253 | ps4BGMPath: 254 | ps4ShareFilePath: 255 | ps4ShareOverlayImagePath: 256 | ps4PrivacyGuardImagePath: 257 | ps4NPtitleDatPath: 258 | ps4RemotePlayKeyAssignment: -1 259 | ps4RemotePlayKeyMappingDir: 260 | ps4EnterButtonAssignment: 1 261 | ps4ApplicationParam1: 0 262 | ps4ApplicationParam2: 0 263 | ps4ApplicationParam3: 0 264 | ps4ApplicationParam4: 0 265 | ps4DownloadDataSize: 0 266 | ps4GarlicHeapSize: 2048 267 | ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ 268 | ps4pnSessions: 1 269 | ps4pnPresence: 1 270 | ps4pnFriends: 1 271 | ps4pnGameCustomData: 1 272 | playerPrefsSupport: 0 273 | ps4ReprojectionSupport: 0 274 | ps4UseAudio3dBackend: 0 275 | ps4SocialScreenEnabled: 0 276 | ps4Audio3dVirtualSpeakerCount: 14 277 | ps4attribCpuUsage: 0 278 | ps4PatchPkgPath: 279 | ps4PatchLatestPkgPath: 280 | ps4PatchChangeinfoPath: 281 | ps4attribUserManagement: 0 282 | ps4attribMoveSupport: 0 283 | ps4attrib3DSupport: 0 284 | ps4attribShareSupport: 0 285 | ps4IncludedModules: [] 286 | monoEnv: 287 | psp2Splashimage: {fileID: 0} 288 | psp2NPTrophyPackPath: 289 | psp2NPSupportGBMorGJP: 0 290 | psp2NPAgeRating: 12 291 | psp2NPTitleDatPath: 292 | psp2NPCommsID: 293 | psp2NPCommunicationsID: 294 | psp2NPCommsPassphrase: 295 | psp2NPCommsSig: 296 | psp2ParamSfxPath: 297 | psp2ManualPath: 298 | psp2LiveAreaGatePath: 299 | psp2LiveAreaBackroundPath: 300 | psp2LiveAreaPath: 301 | psp2LiveAreaTrialPath: 302 | psp2PatchChangeInfoPath: 303 | psp2PatchOriginalPackage: 304 | psp2PackagePassword: F69AzBlax3CF3EDNhm3soLBPh71Yexui 305 | psp2KeystoneFile: 306 | psp2MemoryExpansionMode: 0 307 | psp2DRMType: 0 308 | psp2StorageType: 0 309 | psp2MediaCapacity: 0 310 | psp2DLCConfigPath: 311 | psp2ThumbnailPath: 312 | psp2BackgroundPath: 313 | psp2SoundPath: 314 | psp2TrophyCommId: 315 | psp2TrophyPackagePath: 316 | psp2PackagedResourcesPath: 317 | psp2SaveDataQuota: 10240 318 | psp2ParentalLevel: 1 319 | psp2ShortTitle: Not Set 320 | psp2ContentID: IV0000-ABCD12345_00-0123456789ABCDEF 321 | psp2Category: 0 322 | psp2MasterVersion: 01.00 323 | psp2AppVersion: 01.00 324 | psp2TVBootMode: 0 325 | psp2EnterButtonAssignment: 2 326 | psp2TVDisableEmu: 0 327 | psp2AllowTwitterDialog: 1 328 | psp2Upgradable: 0 329 | psp2HealthWarning: 0 330 | psp2UseLibLocation: 0 331 | psp2InfoBarOnStartup: 0 332 | psp2InfoBarColor: 0 333 | psmSplashimage: {fileID: 0} 334 | spritePackerPolicy: 335 | scriptingDefineSymbols: 336 | 1: 337 | 4: 338 | metroPackageName: UsingViNoFree1.004a 339 | metroPackageVersion: 340 | metroCertificatePath: 341 | metroCertificatePassword: 342 | metroCertificateSubject: 343 | metroCertificateIssuer: 344 | metroCertificateNotAfter: 0000000000000000 345 | metroApplicationDescription: UsingViNoFree1.004a 346 | wsaImages: {} 347 | metroTileShortName: 348 | metroCommandLineArgsFile: 349 | metroTileShowName: 0 350 | metroMediumTileShowName: 0 351 | metroLargeTileShowName: 0 352 | metroWideTileShowName: 0 353 | metroDefaultTileSize: 1 354 | metroTileForegroundText: 1 355 | metroTileBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 356 | metroSplashScreenBackgroundColor: {r: 0, g: 0, b: 0, a: 1} 357 | metroSplashScreenUseBackgroundColor: 0 358 | platformCapabilities: {} 359 | metroFTAName: 360 | metroFTAFileTypes: [] 361 | metroProtocolName: 362 | metroCompilationOverrides: 1 363 | blackberryDeviceAddress: 364 | blackberryDevicePassword: 365 | blackberryTokenPath: 366 | blackberryTokenExires: 367 | blackberryTokenAuthor: 368 | blackberryTokenAuthorId: 369 | blackberryCskPassword: 370 | blackberrySaveLogPath: 371 | blackberrySharedPermissions: 0 372 | blackberryCameraPermissions: 0 373 | blackberryGPSPermissions: 0 374 | blackberryDeviceIDPermissions: 0 375 | blackberryMicrophonePermissions: 0 376 | blackberryGamepadSupport: 0 377 | blackberryBuildId: 0 378 | blackberryLandscapeSplashScreen: {fileID: 0} 379 | blackberryPortraitSplashScreen: {fileID: 0} 380 | blackberrySquareSplashScreen: {fileID: 0} 381 | tizenProductDescription: 382 | tizenProductURL: 383 | tizenSigningProfileName: 384 | tizenGPSPermissions: 0 385 | tizenMicrophonePermissions: 0 386 | n3dsUseExtSaveData: 0 387 | n3dsCompressStaticMem: 1 388 | n3dsExtSaveDataNumber: 0x12345 389 | n3dsStackSize: 131072 390 | n3dsTargetPlatform: 2 391 | n3dsRegion: 7 392 | n3dsMediaSize: 0 393 | n3dsLogoStyle: 3 394 | n3dsTitle: GameName 395 | n3dsProductCode: 396 | n3dsApplicationId: 0xFF3FF 397 | stvDeviceAddress: 398 | stvProductDescription: 399 | stvProductAuthor: 400 | stvProductAuthorEmail: 401 | stvProductLink: 402 | stvProductCategory: 0 403 | XboxOneProductId: 404 | XboxOneUpdateKey: 405 | XboxOneSandboxId: 406 | XboxOneContentId: 407 | XboxOneTitleId: 408 | XboxOneSCId: 409 | XboxOneGameOsOverridePath: 410 | XboxOnePackagingOverridePath: 411 | XboxOneAppManifestOverridePath: 412 | XboxOnePackageEncryption: 0 413 | XboxOnePackageUpdateGranularity: 2 414 | XboxOneDescription: 415 | XboxOneIsContentPackage: 0 416 | XboxOneEnableGPUVariability: 0 417 | XboxOneSockets: {} 418 | XboxOneSplashScreen: {fileID: 0} 419 | XboxOneAllowedProductIds: [] 420 | XboxOnePersistentLocalStorageSize: 0 421 | intPropertyNames: 422 | - Android::ScriptingBackend 423 | - Metro::ScriptingBackend 424 | - Standalone::ScriptingBackend 425 | - WP8::ScriptingBackend 426 | - WebGL::ScriptingBackend 427 | - WebGL::audioCompressionFormat 428 | - WebGL::exceptionSupport 429 | - WebGL::memorySize 430 | - iOS::Architecture 431 | - iOS::EnableIncrementalBuildSupportForIl2cpp 432 | - iOS::ScriptingBackend 433 | Android::ScriptingBackend: 0 434 | Metro::ScriptingBackend: 2 435 | Standalone::ScriptingBackend: 0 436 | WP8::ScriptingBackend: 2 437 | WebGL::ScriptingBackend: 1 438 | WebGL::audioCompressionFormat: 4 439 | WebGL::exceptionSupport: 1 440 | WebGL::memorySize: 256 441 | iOS::Architecture: 2 442 | iOS::EnableIncrementalBuildSupportForIl2cpp: 1 443 | iOS::ScriptingBackend: 1 444 | boolPropertyNames: 445 | - WebGL::analyzeBuildSize 446 | - WebGL::dataCaching 447 | - WebGL::useEmbeddedResources 448 | WebGL::analyzeBuildSize: 0 449 | WebGL::dataCaching: 0 450 | WebGL::useEmbeddedResources: 0 451 | stringPropertyNames: 452 | - WebGL::emscriptenArgs 453 | - WebGL::template 454 | - additionalIl2CppArgs::additionalIl2CppArgs 455 | WebGL::emscriptenArgs: 456 | WebGL::template: APPLICATION:Default 457 | additionalIl2CppArgs::additionalIl2CppArgs: 458 | cloudProjectId: 459 | projectName: 460 | organizationId: 461 | cloudEnabled: 0 462 | -------------------------------------------------------------------------------- /ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 5.3.0f2 2 | m_StandardAssetsVersion: 0 3 | -------------------------------------------------------------------------------- /ProjectSettings/QualitySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!47 &1 4 | QualitySettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 5 7 | m_CurrentQuality: 3 8 | m_QualitySettings: 9 | - serializedVersion: 2 10 | name: Fastest 11 | pixelLightCount: 0 12 | shadows: 0 13 | shadowResolution: 0 14 | shadowProjection: 1 15 | shadowCascades: 1 16 | shadowDistance: 15 17 | blendWeights: 1 18 | textureQuality: 1 19 | anisotropicTextures: 0 20 | antiAliasing: 0 21 | softParticles: 0 22 | softVegetation: 0 23 | vSyncCount: 0 24 | lodBias: .300000012 25 | maximumLODLevel: 0 26 | particleRaycastBudget: 4 27 | excludedTargetPlatforms: [] 28 | - serializedVersion: 2 29 | name: Fast 30 | pixelLightCount: 0 31 | shadows: 0 32 | shadowResolution: 0 33 | shadowProjection: 1 34 | shadowCascades: 1 35 | shadowDistance: 20 36 | blendWeights: 2 37 | textureQuality: 0 38 | anisotropicTextures: 0 39 | antiAliasing: 0 40 | softParticles: 0 41 | softVegetation: 0 42 | vSyncCount: 0 43 | lodBias: .400000006 44 | maximumLODLevel: 0 45 | particleRaycastBudget: 16 46 | excludedTargetPlatforms: [] 47 | - serializedVersion: 2 48 | name: Simple 49 | pixelLightCount: 1 50 | shadows: 1 51 | shadowResolution: 0 52 | shadowProjection: 1 53 | shadowCascades: 1 54 | shadowDistance: 20 55 | blendWeights: 2 56 | textureQuality: 0 57 | anisotropicTextures: 1 58 | antiAliasing: 0 59 | softParticles: 0 60 | softVegetation: 0 61 | vSyncCount: 0 62 | lodBias: .699999988 63 | maximumLODLevel: 0 64 | particleRaycastBudget: 64 65 | excludedTargetPlatforms: [] 66 | - serializedVersion: 2 67 | name: Good 68 | pixelLightCount: 2 69 | shadows: 2 70 | shadowResolution: 1 71 | shadowProjection: 1 72 | shadowCascades: 2 73 | shadowDistance: 40 74 | blendWeights: 2 75 | textureQuality: 0 76 | anisotropicTextures: 1 77 | antiAliasing: 0 78 | softParticles: 0 79 | softVegetation: 1 80 | vSyncCount: 1 81 | lodBias: 1 82 | maximumLODLevel: 0 83 | particleRaycastBudget: 256 84 | excludedTargetPlatforms: [] 85 | - serializedVersion: 2 86 | name: Beautiful 87 | pixelLightCount: 3 88 | shadows: 2 89 | shadowResolution: 2 90 | shadowProjection: 1 91 | shadowCascades: 2 92 | shadowDistance: 70 93 | blendWeights: 4 94 | textureQuality: 0 95 | anisotropicTextures: 2 96 | antiAliasing: 2 97 | softParticles: 1 98 | softVegetation: 1 99 | vSyncCount: 1 100 | lodBias: 1.5 101 | maximumLODLevel: 0 102 | particleRaycastBudget: 1024 103 | excludedTargetPlatforms: [] 104 | - serializedVersion: 2 105 | name: Fantastic 106 | pixelLightCount: 4 107 | shadows: 2 108 | shadowResolution: 2 109 | shadowProjection: 1 110 | shadowCascades: 4 111 | shadowDistance: 150 112 | blendWeights: 4 113 | textureQuality: 0 114 | anisotropicTextures: 2 115 | antiAliasing: 2 116 | softParticles: 1 117 | softVegetation: 1 118 | vSyncCount: 1 119 | lodBias: 2 120 | maximumLODLevel: 0 121 | particleRaycastBudget: 4096 122 | excludedTargetPlatforms: [] 123 | m_PerPlatformDefaultQuality: 124 | Android: 2 125 | FlashPlayer: 3 126 | GLES Emulation: 3 127 | PS3: 3 128 | Standalone: 3 129 | Web: 3 130 | Wii: 3 131 | XBOX360: 3 132 | iPhone: 2 133 | -------------------------------------------------------------------------------- /ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | tags: 6 | - 7 | - TextBox 8 | - 9 | Builtin Layer 0: Default 10 | Builtin Layer 1: TransparentFX 11 | Builtin Layer 2: Ignore Raycast 12 | Builtin Layer 3: 13 | Builtin Layer 4: Water 14 | Builtin Layer 5: 15 | Builtin Layer 6: 16 | Builtin Layer 7: 17 | User Layer 8: 18 | User Layer 9: 19 | User Layer 10: 20 | User Layer 11: 21 | User Layer 12: 22 | User Layer 13: 23 | User Layer 14: 24 | User Layer 15: 25 | User Layer 16: 26 | User Layer 17: 27 | User Layer 18: 28 | User Layer 19: 29 | User Layer 20: 30 | User Layer 21: 31 | User Layer 22: 32 | User Layer 23: 33 | User Layer 24: 34 | User Layer 25: 35 | User Layer 26: 36 | User Layer 27: 37 | User Layer 28: 38 | User Layer 29: 39 | User Layer 30: 40 | User Layer 31: 41 | -------------------------------------------------------------------------------- /ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: .0199999996 7 | Maximum Allowed Timestep: .333333343 8 | m_TimeScale: 1 9 | -------------------------------------------------------------------------------- /ProjectSettings/UnityAdsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!292 &1 4 | UnityAdsSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_InitializeOnStartup: 1 8 | m_TestMode: 0 9 | m_EnabledPlatforms: 4294967295 10 | m_IosGameId: 11 | m_AndroidGameId: 12 | -------------------------------------------------------------------------------- /ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | UnityPurchasingSettings: 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | UnityAnalyticsSettings: 10 | m_Enabled: 0 11 | m_InitializeOnStartup: 1 12 | m_TestMode: 0 13 | m_TestEventUrl: 14 | m_TestConfigUrl: 15 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FadeCamera2 2 | 3 | ![uiトランジション](http://cdn-ak.f.st-hatena.com/images/fotolife/t/tsubaki_t1/20151104/20151104004515.gif) 4 | 5 | ![フルスクリーントランジション](http://cdn-ak.f.st-hatena.com/images/fotolife/t/tsubaki_t1/20151104/20151104011025.gif) 6 | 7 | ###[使い方](http://tsubakit1.hateblo.jp/entry/2015/11/04/015355) 8 | --------------------------------------------------------------------------------