private void OnTriggerStay2D(Collider2D collider) { if (collider.CompareTag("RightGoal")) { OnRightGoalCollisionStay?.Invoke(this, null); } }
private void Ball_OnRightGoalCollisionStay(object sender, System.EventArgs e) { OnRightGoalCollisionStay?.Invoke(this, null); }