private void Jump(On.Explore_Movement.orig_PlayRandomJumpSound orig, Explore_Movement self) { if (!drawingText) { drawString = "Boing"; drawColor = Color.green; StartCoroutine(FadeOut(1f)); } orig(self); }
private void GroovyHit(On.Explore_Movement.orig_NotesEffectsMethod orig, Explore_Movement self, GameObject hittedenemy, Vector3 impactpoint, Explore_Movement.Attack_HUD_Objects typeofattack, bool recieverright) { // This method is only called if the player got a groovy hit so it being called means // that the hit they got was groovy _lastHitGroovy = true; // We can run the original method by passing it all of the arguments given to us in this hook orig(self, hittedenemy, impactpoint, typeofattack, recieverright); }