You've already forked ParticleEffectForUGUI
mirror of
https://github.com/mob-sakai/ParticleEffectForUGUI.git
synced 2026-05-16 13:10:07 +00:00
Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
accd3f8410 | ||
|
|
05286cedfd | ||
|
|
cbd9c960e2 | ||
|
|
e924eb4596 | ||
|
|
19989cf18c | ||
|
|
30b00762f6 |
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -5,8 +5,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- release
|
- release
|
||||||
- release_preview
|
- release-preview
|
||||||
- release_v4
|
- release-v4
|
||||||
tags-ignore:
|
tags-ignore:
|
||||||
- "**"
|
- "**"
|
||||||
|
|
||||||
@@ -52,10 +52,12 @@ jobs:
|
|||||||
elif [ '${{ github.ref_name }}' = 'release' ]; then
|
elif [ '${{ github.ref_name }}' = 'release' ]; then
|
||||||
echo "merge_to=develop" | tee -a $GITHUB_OUTPUT
|
echo "merge_to=develop" | tee -a $GITHUB_OUTPUT
|
||||||
echo "split_to=main" | tee -a $GITHUB_OUTPUT
|
echo "split_to=main" | tee -a $GITHUB_OUTPUT
|
||||||
elif [ '${{ github.ref_name }}' = 'release_preview' ]; then
|
elif [ '${{ github.ref_name }}' = 'release-preview' ]; then
|
||||||
|
echo "merge_to=develop-preview" | tee -a $GITHUB_OUTPUT
|
||||||
echo "split_to=preview" | tee -a $GITHUB_OUTPUT
|
echo "split_to=preview" | tee -a $GITHUB_OUTPUT
|
||||||
elif [ '${{ github.ref_name }}' = 'release_v4' ]; then
|
elif [ '${{ github.ref_name }}' = 'release-4.x' ]; then
|
||||||
echo "split_to=v4" | tee -a $GITHUB_OUTPUT
|
echo "merge_to=develop-4.x" | tee -a $GITHUB_OUTPUT
|
||||||
|
echo "split_to=4.x" | tee -a $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
|
||||||
merge-to:
|
merge-to:
|
||||||
|
|||||||
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -15,7 +15,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- develop
|
- develop
|
||||||
- develop_v5
|
- develop-preview
|
||||||
|
- develop-4.x
|
||||||
tags:
|
tags:
|
||||||
- "!*"
|
- "!*"
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"branches": [
|
"branches": [
|
||||||
"release",
|
"release",
|
||||||
"release_v4",
|
"release-4.x",
|
||||||
{
|
{
|
||||||
"name": "release_preview",
|
"name": "release-preview",
|
||||||
"prerelease": true
|
"prerelease": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -1,3 +1,24 @@
|
|||||||
|
## [4.6.8](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.6.7...v4.6.8) (2024-06-14)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* 'Resource ID out of range in GetResource' error in overlay rendering mode ([05286ce](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/05286cedfd17b1a0cb90a5e918513644f47cd831)), closes [#308](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/308)
|
||||||
|
|
||||||
|
## [4.6.7](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.6.6...v4.6.7) (2024-05-24)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* the ParticleSystem's localPosition drifts at certain scales due to floating-point precision issues ([e924eb4](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/e924eb45968a112347471cabaeabc274e4c37ce4)), closes [#299](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/299) [#312](https://github.com/mob-sakai/ParticleEffectForUGUI/issues/312)
|
||||||
|
|
||||||
|
## [4.6.6](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.6.5...v4.6.6) (2024-05-23)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* fix release workflow ([30b0076](https://github.com/mob-sakai/ParticleEffectForUGUI/commit/30b00762f6da166c043587798b1552f27b4cc604))
|
||||||
|
|
||||||
## [4.6.5](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.6.4...v4.6.5) (2024-05-23)
|
## [4.6.5](https://github.com/mob-sakai/ParticleEffectForUGUI/compare/v4.6.4...v4.6.5) (2024-05-23)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -605,6 +605,12 @@ namespace Coffee.UIExtensions
|
|||||||
_orthoCamera.transform.SetPositionAndRotation(new Vector3(0, 0, -1000), Quaternion.identity);
|
_orthoCamera.transform.SetPositionAndRotation(new Vector3(0, 0, -1000), Quaternion.identity);
|
||||||
_orthoCamera.orthographic = true;
|
_orthoCamera.orthographic = true;
|
||||||
_orthoCamera.farClipPlane = 2000f;
|
_orthoCamera.farClipPlane = 2000f;
|
||||||
|
_orthoCamera.clearFlags = CameraClearFlags.Nothing;
|
||||||
|
_orthoCamera.cullingMask = 0; // Nothing
|
||||||
|
_orthoCamera.allowHDR = false;
|
||||||
|
_orthoCamera.allowMSAA = false;
|
||||||
|
_orthoCamera.renderingPath = RenderingPath.Forward;
|
||||||
|
_orthoCamera.useOcclusionCulling = false;
|
||||||
|
|
||||||
return _orthoCamera;
|
return _orthoCamera;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -632,6 +632,8 @@ namespace Coffee.UIExtensions
|
|||||||
// get world position.
|
// get world position.
|
||||||
var isLocalSpace = _particleSystem.IsLocalSpace();
|
var isLocalSpace = _particleSystem.IsLocalSpace();
|
||||||
var psTransform = _particleSystem.transform;
|
var psTransform = _particleSystem.transform;
|
||||||
|
var originLocalPosition = psTransform.localPosition;
|
||||||
|
var originLocalRotation = psTransform.localRotation;
|
||||||
var originWorldPosition = psTransform.position;
|
var originWorldPosition = psTransform.position;
|
||||||
var originWorldRotation = psTransform.rotation;
|
var originWorldRotation = psTransform.rotation;
|
||||||
var emission = _particleSystem.emission;
|
var emission = _particleSystem.emission;
|
||||||
@@ -654,7 +656,8 @@ namespace Coffee.UIExtensions
|
|||||||
: originWorldPosition.GetScaled(scale.Inverse());
|
: originWorldPosition.GetScaled(scale.Inverse());
|
||||||
psTransform.SetPositionAndRotation(scaledPos, originWorldRotation);
|
psTransform.SetPositionAndRotation(scaledPos, originWorldRotation);
|
||||||
_particleSystem.Simulate(deltaTime, false, false, false);
|
_particleSystem.Simulate(deltaTime, false, false, false);
|
||||||
psTransform.SetPositionAndRotation(originWorldPosition, originWorldRotation);
|
psTransform.localPosition = originLocalPosition;
|
||||||
|
psTransform.localRotation = originLocalRotation;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if UNITY_EDITOR
|
#if UNITY_EDITOR
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"name": "com.coffee.ui-particle",
|
"name": "com.coffee.ui-particle",
|
||||||
"displayName": "UI Particle",
|
"displayName": "UI Particle",
|
||||||
"description": "This package provides a component to render particle effects for uGUI.\nThe particle rendering is maskable and sortable, without the need for an extra Camera, RenderTexture, or Canvas.",
|
"description": "This package provides a component to render particle effects for uGUI.\nThe particle rendering is maskable and sortable, without the need for an extra Camera, RenderTexture, or Canvas.",
|
||||||
"version": "4.6.5",
|
"version": "4.6.8",
|
||||||
"unity": "2018.2",
|
"unity": "2018.2",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|||||||
Reference in New Issue
Block a user