diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 43df469..f750171 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -122,7 +122,7 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} ---- !u!1 &179779342 +--- !u!1 &129014402 GameObject: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -130,70 +130,47 @@ GameObject: m_PrefabAsset: {fileID: 0} serializedVersion: 6 m_Component: - - component: {fileID: 179779343} - - component: {fileID: 179779345} - - component: {fileID: 179779344} + - component: {fileID: 129014403} + - component: {fileID: 129014404} m_Layer: 5 - m_Name: RawImage + m_Name: LightMask m_TagString: Untagged m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 m_IsActive: 1 ---- !u!224 &179779343 +--- !u!224 &129014403 RectTransform: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 179779342} - m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_GameObject: {fileID: 129014402} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 - m_Children: [] - m_Father: {fileID: 1255800683} + m_Children: + - {fileID: 281666119} + m_Father: {fileID: 473271735} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} - m_AnchorMin: {x: 0, y: 0} - m_AnchorMax: {x: 1, y: 1} - m_AnchoredPosition: {x: 0, y: 0.000061035156} - m_SizeDelta: {x: -0.0000038146973, y: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 12.099915, y: 16.340088} + m_SizeDelta: {x: 120.25981, y: 76.71985} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &179779344 -MonoBehaviour: +--- !u!225 &129014404 +CanvasGroup: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 179779342} + m_GameObject: {fileID: 129014402} m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} - m_Name: - m_EditorClassIdentifier: - m_Material: {fileID: 0} - m_Color: {r: 1, g: 1, b: 1, a: 1} - m_RaycastTarget: 1 - m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} - m_Maskable: 1 - m_OnCullStateChanged: - m_PersistentCalls: - m_Calls: [] - m_Texture: {fileID: 2800000, guid: c4e0a5074d2c245419fc70b96dfa3ac7, type: 3} - m_UVRect: - serializedVersion: 2 - x: 0 - y: 0 - width: 1 - height: 1 ---- !u!222 &179779345 -CanvasRenderer: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 179779342} - m_CullTransparentMesh: 1 + m_Alpha: 1 + m_Interactable: 1 + m_BlocksRaycasts: 1 + m_IgnoreParentGroups: 0 --- !u!1 &243707687 GameObject: m_ObjectHideFlags: 0 @@ -244,6 +221,78 @@ CanvasGroup: m_Interactable: 1 m_BlocksRaycasts: 1 m_IgnoreParentGroups: 0 +--- !u!1 &281666118 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 281666119} + - component: {fileID: 281666121} + - component: {fileID: 281666120} + m_Layer: 5 + m_Name: RawImage-Mask + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &281666119 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 281666118} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 129014403} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0.000011444092, y: -0.00009918213} + m_SizeDelta: {x: 1079.9999, y: 1920} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &281666120 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 281666118} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Texture: {fileID: 2800000, guid: 21468451b9dae954fb9154e6341c8415, type: 3} + m_UVRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 +--- !u!222 &281666121 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 281666118} + m_CullTransparentMesh: 1 --- !u!1 &283408159 GameObject: m_ObjectHideFlags: 0 @@ -293,10 +342,12 @@ MonoBehaviour: m_EditorClassIdentifier: intro: {fileID: 243707689} main: {fileID: 1995476944} + light_mask: {fileID: 129014404} videoPlayer: {fileID: 1629399498} mask: {fileID: 1255800685} - _fadeDuration: 2 - _hintDuration: 0.2 + _fadeDuration: 6 + _hintDuration: 1 + _maskDuration: 0.2 statusText: {fileID: 1638762745} hint: {fileID: 2028163027} --- !u!114 &283408163 @@ -601,7 +652,7 @@ Canvas: m_GameObject: {fileID: 357834773} m_Enabled: 1 serializedVersion: 3 - m_RenderMode: 1 + m_RenderMode: 0 m_Camera: {fileID: 519420031} m_PlaneDistance: 100 m_PixelPerfect: 0 @@ -873,7 +924,7 @@ PrefabInstance: objectReference: {fileID: -4264381060954844368, guid: 2f1ea7d7bb8b67740ae93a973eaf8fd9, type: 2} - target: {fileID: 3522431500488056163, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} propertyPath: m_AnchoredPosition.y - value: -0.00001335144 + value: 0.0000076293945 objectReference: {fileID: 0} - target: {fileID: 3643760683240737130, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} propertyPath: unfold @@ -929,7 +980,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} propertyPath: controls.List.Array.size - value: 2 + value: 5 objectReference: {fileID: 0} - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} propertyPath: actions.List.Array.data[0].name @@ -967,6 +1018,18 @@ PrefabInstance: propertyPath: controls.List.Array.data[1].member value: _hintDuration objectReference: {fileID: 0} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[2].member + value: _maskDuration + objectReference: {fileID: 0} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[3].member + value: localPosition + objectReference: {fileID: 0} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[4].member + value: localScale + objectReference: {fileID: 0} - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} propertyPath: controls.List.Array.data[0].instance value: @@ -975,6 +1038,18 @@ PrefabInstance: propertyPath: controls.List.Array.data[1].instance value: objectReference: {fileID: 283408162} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[2].instance + value: + objectReference: {fileID: 283408162} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[3].instance + value: + objectReference: {fileID: 281666119} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[4].instance + value: + objectReference: {fileID: 281666119} - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} propertyPath: infos.List.Array.data[0].displayPath value: port @@ -1007,6 +1082,30 @@ PrefabInstance: propertyPath: controls.List.Array.data[1].preInstance value: objectReference: {fileID: 283408162} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[2].displayPath + value: _maskDuration + objectReference: {fileID: 0} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[2].preInstance + value: + objectReference: {fileID: 283408162} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[3].displayPath + value: localPosition + objectReference: {fileID: 0} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[3].preInstance + value: + objectReference: {fileID: 281666119} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[4].displayPath + value: localScale + objectReference: {fileID: 0} + - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: controls.List.Array.data[4].preInstance + value: + objectReference: {fileID: 281666119} - target: {fileID: 5748129664144205097, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} propertyPath: actions.List.Array.data[0].Event.m_PersistentCalls.m_Calls.Array.size value: 1 @@ -1271,6 +1370,10 @@ PrefabInstance: propertyPath: m_Value value: 0 objectReference: {fileID: 0} + - target: {fileID: 9044064709128930019, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} + propertyPath: m_AnchoredPosition.y + value: -10 + objectReference: {fileID: 0} - target: {fileID: 9099926337057744636, guid: 7aba709da85d1c2439af18a2c2e1548c, type: 3} propertyPath: m_Texture value: @@ -1389,6 +1492,8 @@ RectTransform: m_Children: - {fileID: 243707688} - {fileID: 1995476943} + - {fileID: 129014403} + - {fileID: 2028163026} m_Father: {fileID: 1076654508} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} @@ -1561,6 +1666,78 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 550776837} m_CullTransparentMesh: 1 +--- !u!1 &555167253 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 555167254} + - component: {fileID: 555167256} + - component: {fileID: 555167255} + m_Layer: 5 + m_Name: RawImage + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &555167254 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 555167253} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 1255800683} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: -0.000030517578, y: -0.000030517578} + m_SizeDelta: {x: 0.000061035156, y: -0.000061035156} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &555167255 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 555167253} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 1344c3c82d62a2a41a3576d8abb8e3ea, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Texture: {fileID: 2800000, guid: c4e0a5074d2c245419fc70b96dfa3ac7, type: 3} + m_UVRect: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 +--- !u!222 &555167256 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 555167253} + m_CullTransparentMesh: 1 --- !u!1 &717506483 GameObject: m_ObjectHideFlags: 0 @@ -1715,7 +1892,7 @@ Transform: m_GameObject: {fileID: 794429370} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: -55.300003, y: 211.9, z: -10} + m_LocalPosition: {x: -433, y: 211.9, z: -10} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: @@ -1967,7 +2144,7 @@ Transform: m_GameObject: {fileID: 1076654504} serializedVersion: 2 m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 61.4, y: 224, z: -3.5433605} + m_LocalPosition: {x: -224, y: 224, z: -3.5433605} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: @@ -2005,7 +2182,7 @@ RectTransform: m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - - {fileID: 179779343} + - {fileID: 555167254} m_Father: {fileID: 2028163026} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 1, y: 0} @@ -2051,7 +2228,7 @@ MonoBehaviour: m_PreserveAspect: 0 m_FillCenter: 1 m_FillMethod: 4 - m_FillAmount: 0.759 + m_FillAmount: 1 m_FillClockwise: 0 m_FillOrigin: 2 m_UseSpriteMesh: 0 @@ -2346,10 +2523,10 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: processing... + m_text: "\u8655\u7406\u4E2D...\nprocessing..." m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontAsset: {fileID: 11400000, guid: 2f1ea7d7bb8b67740ae93a973eaf8fd9, type: 2} + m_sharedMaterial: {fileID: -4264381060954844368, guid: 2f1ea7d7bb8b67740ae93a973eaf8fd9, type: 2} m_fontSharedMaterials: [] m_fontMaterial: {fileID: 0} m_fontMaterials: [] @@ -2702,7 +2879,6 @@ RectTransform: m_Children: - {fileID: 800396494} - {fileID: 1963683447} - - {fileID: 2028163026} m_Father: {fileID: 473271735} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} @@ -2746,14 +2922,14 @@ RectTransform: m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 2028163025} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} m_ConstrainProportionsScale: 0 m_Children: - {fileID: 1255800683} - {fileID: 1638762747} - m_Father: {fileID: 1995476943} + m_Father: {fileID: 473271735} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0, y: 0} m_AnchorMax: {x: 1, y: 1} diff --git a/Assets/Scripts/OscHandler.cs b/Assets/Scripts/OscHandler.cs index 26509cf..298e50d 100644 --- a/Assets/Scripts/OscHandler.cs +++ b/Assets/Scripts/OscHandler.cs @@ -16,6 +16,9 @@ public class OscHandler : MonoBehaviour [SerializeField] public CanvasGroup main; + [SerializeField] + public CanvasGroup light_mask; + [SerializeField] public VideoPlayer videoPlayer; @@ -27,7 +30,10 @@ public class OscHandler : MonoBehaviour public float _fadeDuration = 1f; [SerializeField] - public float _hintDuration = 0.2f; + public float _hintDuration = 0.5f; + + [SerializeField] + public float _maskDuration = 0.2f; [SerializeField] public TextMeshProUGUI statusText; @@ -47,8 +53,11 @@ public class OscHandler : MonoBehaviour } - private IEnumerator FadeCanvasGroup(CanvasGroup canvasGroup, float startAlpha, float endAlpha, float duration) + private IEnumerator FadeCanvasGroup(CanvasGroup canvasGroup, float startAlpha, float endAlpha, float duration, float delay = 0f) { + if (delay > 0f) + yield return new WaitForSeconds(delay); + canvasGroup.alpha = startAlpha; float elapsedTime = 0f; @@ -85,7 +94,7 @@ public class OscHandler : MonoBehaviour Debug.Log("/status message received: " + status); videoPlayer.Stop(); - hint.alpha = 0f; + if(hint.alpha > 0f) StartCoroutine(FadeCanvasGroup(hint, 1f, 0f, _hintDuration)); mask.fillAmount = 0f; switch(status) @@ -93,20 +102,34 @@ public class OscHandler : MonoBehaviour case "reset": intro.alpha = 0f; main.alpha = 0f; + light_mask.alpha = 0f; break; - case "go": - StartCoroutine(FadeCanvasGroup(intro, 0f, 1f, _fadeDuration)); + case "intro": + StartCoroutine(FadeCanvasGroup(light_mask, 0f, 1f, _maskDuration)); + StartCoroutine(FadeCanvasGroup(intro, 0f, 1f, _fadeDuration, _maskDuration)); + + videoPlayer.time = 0f; videoPlayer.Play(); - videoPlayer.loopPointReached += (VideoPlayer vp) => { - Debug.Log("Video playback completed."); - StartCoroutine(FadeCanvasGroup(intro, 1f, 0f, _fadeDuration)); - StartCoroutine(FadeCanvasGroup(main, 0f, 1f, _fadeDuration)); - videoPlayer.loopPointReached -= null; - }; + // videoPlayer.loopPointReached += (VideoPlayer vp) => { + // Debug.Log("Video playback completed."); + // StartCoroutine(FadeCanvasGroup(intro, 1f, 0f, _fadeDuration)); + // StartCoroutine(FadeCanvasGroup(main, 0f, 1f, _fadeDuration)); + // videoPlayer.loopPointReached -= null; + // }; + break; + case "go": + + if(light_mask.alpha<1f) StartCoroutine(FadeCanvasGroup(light_mask, 0f, 1f, _fadeDuration)); + StartCoroutine(FadeCanvasGroup(intro, 1f, 0f, _fadeDuration)); + StartCoroutine(FadeCanvasGroup(main, 0f, 1f, _fadeDuration)); + break; case "end": + if(intro.alpha > 0f) StartCoroutine(FadeCanvasGroup(intro, 1f, 0f, _fadeDuration)); StartCoroutine(FadeCanvasGroup(main, 1f, 0f, _fadeDuration)); + StartCoroutine(FadeCanvasGroup(light_mask, 1f, 0f, _maskDuration, _fadeDuration)); + videoPlayer.Stop(); break; default: @@ -136,11 +159,11 @@ public class OscHandler : MonoBehaviour Debug.Log("/input message received: " + input); - StartCoroutine(FadeCanvasGroup(hint, 0f, 1f, _hintDuration)); + if(hint.alpha<1f) StartCoroutine(FadeCanvasGroup(hint, hint.alpha, 1f, _hintDuration)); switch(input){ case "processing": - statusText.text = "處理中...\nprocessing..."; + statusText.text = "處理中...\nprocessing..."; break; case "system": statusText.text = "回覆中...\nresponding..."; diff --git a/Assets/UI/RoomLight-Mask_C.png b/Assets/UI/RoomLight-Mask_C.png new file mode 100644 index 0000000..75912f5 Binary files /dev/null and b/Assets/UI/RoomLight-Mask_C.png differ diff --git a/Assets/UI/RoomLight-Mask_C.png.meta b/Assets/UI/RoomLight-Mask_C.png.meta new file mode 100644 index 0000000..45b5d54 --- /dev/null +++ b/Assets/UI/RoomLight-Mask_C.png.meta @@ -0,0 +1,114 @@ +fileFormatVersion: 2 +guid: 21468451b9dae954fb9154e6341c8415 +TextureImporter: + internalIDToNameTable: [] + externalObjects: {} + serializedVersion: 13 + mipmaps: + mipMapMode: 0 + enableMipMap: 0 + sRGBTexture: 1 + linearTexture: 0 + fadeOut: 0 + borderMipMap: 0 + mipMapsPreserveCoverage: 0 + alphaTestReferenceValue: 0.5 + mipMapFadeDistanceStart: 1 + mipMapFadeDistanceEnd: 3 + bumpmap: + convertToNormalMap: 0 + externalNormalMap: 0 + heightScale: 0.25 + normalMapFilter: 0 + flipGreenChannel: 0 + isReadable: 0 + streamingMipmaps: 0 + streamingMipmapsPriority: 0 + vTOnly: 0 + ignoreMipmapLimit: 0 + grayScaleToAlpha: 0 + generateCubemap: 6 + cubemapConvolution: 0 + seamlessCubemap: 0 + textureFormat: 1 + maxTextureSize: 2048 + textureSettings: + serializedVersion: 2 + filterMode: 1 + aniso: 1 + mipBias: 0 + wrapU: 1 + wrapV: 1 + wrapW: 1 + nPOTScale: 0 + lightmap: 0 + compressionQuality: 50 + spriteMode: 1 + spriteExtrude: 1 + spriteMeshType: 1 + alignment: 0 + spritePivot: {x: 0.5, y: 0.5} + spritePixelsToUnits: 100 + spriteBorder: {x: 0, y: 0, z: 0, w: 0} + spriteGenerateFallbackPhysicsShape: 1 + alphaUsage: 1 + alphaIsTransparency: 1 + spriteTessellationDetail: -1 + textureType: 8 + textureShape: 1 + singleChannelComponent: 0 + flipbookRows: 1 + flipbookColumns: 1 + maxTextureSizeSet: 0 + compressionQualitySet: 0 + textureFormatSet: 0 + ignorePngGamma: 0 + applyGammaDecoding: 0 + swizzle: 50462976 + cookieLightType: 0 + platformSettings: + - serializedVersion: 3 + buildTarget: DefaultTexturePlatform + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + - serializedVersion: 3 + buildTarget: Standalone + maxTextureSize: 2048 + resizeAlgorithm: 0 + textureFormat: -1 + textureCompression: 1 + compressionQuality: 50 + crunchedCompression: 0 + allowsAlphaSplitting: 0 + overridden: 0 + ignorePlatformSupport: 0 + androidETC2FallbackOverride: 0 + forceMaximumCompressionQuality_BC6H_BC7: 0 + spriteSheet: + serializedVersion: 2 + sprites: [] + outline: [] + physicsShape: [] + bones: [] + spriteID: 5e97eb03825dee720800000000000000 + internalID: 0 + vertices: [] + indices: + edges: [] + weights: [] + secondaryTextures: [] + nameFileIdTable: {} + mipmapLimitGroupName: + pSDRemoveMatte: 0 + userData: + assetBundleName: + assetBundleVariant: