mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-20 01:42:37 +08:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f66bbfb4d | |||
| 91d5519356 | |||
| 76be0fc860 |
File diff suppressed because it is too large
Load Diff
@@ -133,8 +133,14 @@ ShaderVariantCollection:
|
||||
passType: 0
|
||||
- keywords: SAMPLING_PIXELATION TONE_RETRO UNITY_UI_CLIP_RECT
|
||||
passType: 0
|
||||
- keywords: SAMPLING_PIXELATION TRANSITION_COLOR_MULTIPLY TRANSITION_PATTERN
|
||||
passType: 0
|
||||
- keywords: SAMPLING_PIXELATION TRANSITION_COLOR_MULTIPLY_ADDITIVE TRANSITION_DISSOLVE
|
||||
passType: 0
|
||||
- keywords: SAMPLING_RGB_SHIFT
|
||||
passType: 0
|
||||
- keywords: SAMPLING_RGB_SHIFT TRANSITION_COLOR_MULTIPLY TRANSITION_PATTERN
|
||||
passType: 0
|
||||
- keywords: SHADOW_COLOR_REPLACE
|
||||
passType: 0
|
||||
- keywords: TONE_GRAYSCALE
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
## [5.6.1](https://github.com/mob-sakai/UIEffect/compare/5.6.0...5.6.1) (2025-03-28)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* changes were not correctly marked as dirty when loading presets ([76be0fc](https://github.com/mob-sakai/UIEffect/commit/76be0fc860c27b89235b7fb9a766dcc38b3d9924))
|
||||
|
||||
# [5.6.0](https://github.com/mob-sakai/UIEffect/compare/5.5.3...5.6.0) (2025-03-28)
|
||||
|
||||
|
||||
|
||||
@@ -69,6 +69,7 @@ Combine various filters, such as grayscale, blur, and dissolve, to decorate your
|
||||
- **UIEffectTweener Component**: A simple tweener component to play, stop, pause, and resume effects.
|
||||
- **AnimationClip support**: Allows control of effect animations using `AnimationClips`.
|
||||
- **v4 compatible components (optional)**: For easy upgrading with minimal changes, compatible v4 components are available optionally.
|
||||
- **SoftMaskForUGUI support (optional)**: Compatible with SoftMaskForUGUI for creating soft masks for UI elements. See for more details [here](#usage-with-softmaskforugui).
|
||||
|
||||
<br><br>
|
||||
|
||||
@@ -339,7 +340,7 @@ The `UIEffect` component applies visual effects to UI elements, allowing various
|
||||

|
||||
|
||||
- **Detail Filter**: `None`, `Masking`, `Multiply`, `Additive`, `Replace`, `MuliplyAdditive`
|
||||

|
||||

|
||||
- **Detail Intensity**: 0.0 (no effect) - 1.0 (full effect).
|
||||
- **Detail Threshold** (`Masking` only): The minimum and maximum alpha values used for masking. The larger the gap
|
||||
between these values, the stronger the softness effect.
|
||||
@@ -362,7 +363,8 @@ The `UIEffect` component applies visual effects to UI elements, allowing various
|
||||
- `Horizontal`
|
||||
- `Vertical`
|
||||
- `Effect`: Flip with the effect.
|
||||
- `Shadow`: Flip with the shadow.
|
||||
- `Shadow`: Flip with the shadow.
|
||||

|
||||
|
||||
> [!TIP]
|
||||
> `Transition Filter`, `Gradation Filter`, and `Detail Filter` usually refer to their own `RectTransform` when applying effects.
|
||||
|
||||
@@ -1724,6 +1724,7 @@ namespace Coffee.UIEffects
|
||||
m_DetailTexSpeed = preset.m_DetailTexSpeed;
|
||||
}
|
||||
|
||||
Misc.SetDirty(this);
|
||||
UpdateContext(context);
|
||||
SetVerticesDirty();
|
||||
SetMaterialDirty();
|
||||
@@ -1811,6 +1812,7 @@ namespace Coffee.UIEffects
|
||||
m_DetailTexOffset = c.detailTexOffset;
|
||||
m_DetailTexSpeed = c.detailTexSpeed;
|
||||
|
||||
Misc.SetDirty(this);
|
||||
UpdateContext(context);
|
||||
SetVerticesDirty();
|
||||
SetMaterialDirty();
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -5411,7 +5411,7 @@ MonoBehaviour:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1887047859}
|
||||
m_Enabled: 0
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 3312d7739989d2b4e91e6319e9a96d76, type: 3}
|
||||
m_Name:
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"name": "com.coffee.ui-effect",
|
||||
"displayName": "UI Effect",
|
||||
"description": "UIEffect is an open-source package that allows you to intuitively apply rich UI effects directly from the Inspector or via code.\nCombine various filters, such as grayscale, blur, and dissolve, to decorate your UI with a unique visual style!",
|
||||
"version": "5.6.0",
|
||||
"version": "5.6.1",
|
||||
"unity": "2020.3",
|
||||
"license": "MIT",
|
||||
"repository": {
|
||||
|
||||
Reference in New Issue
Block a user