-
-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
2,554 additions
and
1,595 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,10 @@ void Start() | |
mask.enabled = true; | ||
} | ||
} | ||
|
||
public void SetTimeScale(float scale) | ||
{ | ||
Time.timeScale = scale; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,214 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!21 &2100000 | ||
Material: | ||
serializedVersion: 6 | ||
m_ObjectHideFlags: 8 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 0} | ||
m_Name: UI-Effect-Dissolve | ||
m_Shader: {fileID: 4800000, guid: e1b48dc831eb147e9886c049033213bf, type: 3} | ||
m_ShaderKeywords: | ||
m_LightmapFlags: 1 | ||
m_CustomRenderQueue: -1 | ||
stringTagMap: {} | ||
m_SavedProperties: | ||
serializedVersion: 2 | ||
m_TexEnvs: | ||
- first: | ||
name: _MainTex | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- first: | ||
name: _NoiseTex | ||
second: | ||
m_Texture: {fileID: 2800000, guid: 3e04c247fb2604af186173fce0bc62de, type: 3} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
m_Floats: | ||
- first: | ||
name: _ColorMask | ||
second: 15 | ||
- first: | ||
name: _Stencil | ||
second: 0 | ||
- first: | ||
name: _StencilComp | ||
second: 8 | ||
- first: | ||
name: _StencilOp | ||
second: 0 | ||
- first: | ||
name: _StencilReadMask | ||
second: 255 | ||
- first: | ||
name: _StencilWriteMask | ||
second: 255 | ||
- first: | ||
name: _UseUIAlphaClip | ||
second: 0 | ||
m_Colors: | ||
- first: | ||
name: _Color | ||
second: {r: 1, g: 1, b: 1, a: 1} | ||
--- !u!21 &21162286589123374 | ||
Material: | ||
serializedVersion: 6 | ||
m_ObjectHideFlags: 9 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 0} | ||
m_Name: UI-Effect-Dissolve-Set | ||
m_Shader: {fileID: 4800000, guid: e1b48dc831eb147e9886c049033213bf, type: 3} | ||
m_ShaderKeywords: UI_COLOR_SET | ||
m_LightmapFlags: 5 | ||
m_CustomRenderQueue: -1 | ||
stringTagMap: {} | ||
m_SavedProperties: | ||
serializedVersion: 2 | ||
m_TexEnvs: | ||
- first: | ||
name: _MainTex | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- first: | ||
name: _NoiseTex | ||
second: | ||
m_Texture: {fileID: 2800000, guid: 3e04c247fb2604af186173fce0bc62de, type: 3} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
m_Floats: | ||
- first: | ||
name: _ColorMask | ||
second: 15 | ||
- first: | ||
name: _Stencil | ||
second: 0 | ||
- first: | ||
name: _StencilComp | ||
second: 8 | ||
- first: | ||
name: _StencilOp | ||
second: 0 | ||
- first: | ||
name: _StencilReadMask | ||
second: 255 | ||
- first: | ||
name: _StencilWriteMask | ||
second: 255 | ||
- first: | ||
name: _UseUIAlphaClip | ||
second: 0 | ||
m_Colors: | ||
- first: | ||
name: _Color | ||
second: {r: 1, g: 1, b: 1, a: 1} | ||
--- !u!21 &21841578701121694 | ||
Material: | ||
serializedVersion: 6 | ||
m_ObjectHideFlags: 9 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 0} | ||
m_Name: UI-Effect-Dissolve-Sub | ||
m_Shader: {fileID: 4800000, guid: e1b48dc831eb147e9886c049033213bf, type: 3} | ||
m_ShaderKeywords: UI_COLOR_SUB | ||
m_LightmapFlags: 5 | ||
m_CustomRenderQueue: -1 | ||
stringTagMap: {} | ||
m_SavedProperties: | ||
serializedVersion: 2 | ||
m_TexEnvs: | ||
- first: | ||
name: _MainTex | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- first: | ||
name: _NoiseTex | ||
second: | ||
m_Texture: {fileID: 2800000, guid: 3e04c247fb2604af186173fce0bc62de, type: 3} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
m_Floats: | ||
- first: | ||
name: _ColorMask | ||
second: 15 | ||
- first: | ||
name: _Stencil | ||
second: 0 | ||
- first: | ||
name: _StencilComp | ||
second: 8 | ||
- first: | ||
name: _StencilOp | ||
second: 0 | ||
- first: | ||
name: _StencilReadMask | ||
second: 255 | ||
- first: | ||
name: _StencilWriteMask | ||
second: 255 | ||
- first: | ||
name: _UseUIAlphaClip | ||
second: 0 | ||
m_Colors: | ||
- first: | ||
name: _Color | ||
second: {r: 1, g: 1, b: 1, a: 1} | ||
--- !u!21 &21939717441729078 | ||
Material: | ||
serializedVersion: 6 | ||
m_ObjectHideFlags: 9 | ||
m_PrefabParentObject: {fileID: 0} | ||
m_PrefabInternal: {fileID: 0} | ||
m_Name: UI-Effect-Dissolve-Add | ||
m_Shader: {fileID: 4800000, guid: e1b48dc831eb147e9886c049033213bf, type: 3} | ||
m_ShaderKeywords: UI_COLOR_ADD | ||
m_LightmapFlags: 5 | ||
m_CustomRenderQueue: -1 | ||
stringTagMap: {} | ||
m_SavedProperties: | ||
serializedVersion: 2 | ||
m_TexEnvs: | ||
- first: | ||
name: _MainTex | ||
second: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- first: | ||
name: _NoiseTex | ||
second: | ||
m_Texture: {fileID: 2800000, guid: 3e04c247fb2604af186173fce0bc62de, type: 3} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
m_Floats: | ||
- first: | ||
name: _ColorMask | ||
second: 15 | ||
- first: | ||
name: _Stencil | ||
second: 0 | ||
- first: | ||
name: _StencilComp | ||
second: 8 | ||
- first: | ||
name: _StencilOp | ||
second: 0 | ||
- first: | ||
name: _StencilReadMask | ||
second: 255 | ||
- first: | ||
name: _StencilWriteMask | ||
second: 255 | ||
- first: | ||
name: _UseUIAlphaClip | ||
second: 0 | ||
m_Colors: | ||
- first: | ||
name: _Color | ||
second: {r: 1, g: 1, b: 1, a: 1} |
4 changes: 2 additions & 2 deletions
4
Assets/UIEffect/UI-Effect-Dissolve.mat.meta → ...ect/Materials/UI-Effect-Dissolve.mat.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.