Liberi
An exergame built for kids with CP!
Main Page
Classes
Files
File List
ParticleFixedScale.cs
1
using
UnityEngine
;
2
using
System
.Collections;
3
7
[Script(ScriptRole.View)]
8
public
class
ParticleFixedScale
: MonoBehaviour
9
{
10
void
Update()
11
{
12
transform.localScale = transform.parent.InverseTransformPoint(Vector3.one);
13
}
14
}
System
ParticleFixedScale
Unity Hack to fix issues with particle systems that have negative scales (ie, have done a 2D flip on ...
Definition:
ParticleFixedScale.cs:8
UnityEngine
Liberi
Assets
Scripts
Components
ParticleFixedScale.cs
Generated by
1.8.10