void OnTriggerEnter(Collider other) { Hero hero = other.gameObject.GetComponent <Hero> (); if (hero != null) { ParticleData data = new ParticleData(EntityExtension.GenerateSerialId(), magicWaterData.ParticleTypeID, this.Id); EntityExtension.ShowParticle(typeof(EParticle), "ParticleGroup", data); } }