private void OnTriggerEnter2D(Collider2D collision) { if (collision.gameObject.tag == "Player") { if (Settings.Vibration) //vibrate if setting is on { Handheld.Vibrate(); } manager.decreasePlayerOpacity(); GameTracker.GotADebuff(); } }
private void OnTriggerEnter2D(Collider2D collision) { if (collision.gameObject.tag == "Player") { if (Settings.Vibration) //vibrate if setting is on { Handheld.Vibrate(); } GameTracker.GotADebuff(); manager.increaseBlackLevel(); } }