protected override void OnTriggerEnter(Collider collider) { if (collider.tag == "Player") { GameLevel.CollectStar(value); CreateEffect(); } }