bit more adjustments

This commit is contained in:
André Cardoso
2021-03-03 00:12:18 +01:00
parent d249534263
commit 06e1f7fc70
8 changed files with 5120 additions and 71 deletions

View File

@@ -16,9 +16,9 @@ public class ParticlesController: MonoBehaviour{
void Start(){
part = GetComponent<ParticleSystem>();
collisionEvents = new List<ParticleCollisionEvent>();
var pr = part.GetComponent<ParticleSystemRenderer>();
Color c = new Color(pr.material.color.r, pr.material.color.g, pr.material.color.b, .8f);
paintColor = c;
//var pr = part.GetComponent<ParticleSystemRenderer>();
//Color c = new Color(pr.material.color.r, pr.material.color.g, pr.material.color.b, .8f);
//paintColor = c;
}
void OnParticleCollision(GameObject other) {