using UnityEngine; public class SkillEffect : MonoBehaviour { private void OnParticleCollision(GameObject other) { Logger.Log("Detect " + other.name); } }