Skip to content

Commit 4c26006

Browse files
committed
update documents for v2.2.0
1 parent fb29041 commit 4c26006

File tree

3 files changed

+33
-6
lines changed

3 files changed

+33
-6
lines changed

CHANGELOG.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
11
# Changelog
22

3-
## [v2.1.1](https://github.com/mob-sakai/ParticleEffectForUGUI/tree/v2.1.1) (2019-02-15)
3+
## [v2.2.0](https://github.com/mob-sakai/ParticleEffectForUGUI/tree/v2.2.0) (2019-02-23)
44

5-
[Full Changelog](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v2.1.0...v2.1.1)
5+
[Full Changelog](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v2.1.1...v2.2.0)
6+
7+
**Implemented enhancements:**
8+
9+
- Display warning when material does not support Mask [\#43](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/43)
10+
- Support changing material property by AnimationClip [\#42](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/42)
611

712
**Fixed bugs:**
813

9-
- UIParticle.Scale - Rendering Order Issue [\#39](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/39)
14+
- UV Animation is not work. [\#41](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/41)
15+
16+
## [v2.1.1](https://github.com/mob-sakai/ParticleEffectForUGUI/tree/v2.1.1) (2019-02-15)
17+
18+
[Full Changelog](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v2.1.0...v2.1.1)
1019

1120
## [v2.1.0](https://github.com/mob-sakai/ParticleEffectForUGUI/tree/v2.1.0) (2019-02-07)
1221

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ Compares this "Baking mesh" approach with the conventional approach:
5555
![](https://user-images.githubusercontent.com/12690315/49866926-6c22f500-fe4c-11e8-8393-d5a546e9e2d3.gif)
5656
* Scaled gizmo
5757
![](https://user-images.githubusercontent.com/12690315/50343861-f31e4e80-056b-11e9-8f60-8bd0a8ff7adb.gif)
58+
* Animatable material property
59+
![](https://user-images.githubusercontent.com/12690315/53286323-2d94a980-37b0-11e9-8afb-c4a207805ff2.gif)
5860

5961

6062

@@ -74,12 +76,13 @@ Find the manifest.json file in the Packages folder of your project and edit it t
7476
```js
7577
{
7678
"dependencies": {
77-
"com.coffee.ui-particle": "https://github.com/mob-sakai/ParticleEffectForUGUI.git#2.1.0",
79+
"com.coffee.ui-particle": "https://github.com/mob-sakai/ParticleEffectForUGUI.git#2.2.0",
7880
...
7981
},
8082
}
8183
```
82-
To update the package, change `#{version}` to the target version.
84+
To update the package, change `#{version}` to the target version.
85+
Or, use [UpmGitExtension](https://github.com/mob-sakai/UpmGitExtension).
8386

8487
#### Using .unitypackage file (for Unity 2018.2+)
8588

@@ -124,6 +127,21 @@ Select `Assets > Import Package > Custom Package` from the menu.
124127
<br><br><br><br>
125128
## Development Note
126129

130+
#### Animatable material property
131+
132+
![](https://user-images.githubusercontent.com/12690315/53286323-2d94a980-37b0-11e9-8afb-c4a207805ff2.gif)
133+
134+
Animation clips can change the material properties of the Renderer, such as ParticleSystemRenderer.
135+
It uses MaterialPropertyBlock so it does not create new material instances.
136+
Using material properties, you can change UV animation, scale and color etc.
137+
138+
Well, there is a component called CanvasRenderer.
139+
It is used by all Graphic components for UI (Text, Image, Raw Image, etc.) including UIParticle.
140+
However, It is **NOT** a Renderer.
141+
Therefore, in UIParticle, changing ParticleSystemRenderer's MaterialPropertyBlock by animation clip is ignored.
142+
143+
To prevent this, Use "Animatable Material Property".
144+
"Animatable Material Property" gets the necessary properties from ParticleSystemRenderer's MaterialPropertyBlock and sets them to the CanvasRenderer's material.
127145

128146

129147

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "com.coffee.ui-particle",
33
"displayName": "UI Particle",
44
"description": "This plugin provide a component to render particle effect for uGUI.\nThe particle rendering is maskable and sortable, without Camera, RenderTexture or Canvas.",
5-
"version": "2.1.1",
5+
"version": "2.2.0",
66
"unity": "2018.2",
77
"license": "MIT",
88
"repository": {

0 commit comments

Comments
 (0)