void showTeleportEffect(Vector3 oldp, Vector3 newp) { EffectManager.showTeleportStar(oldp); //Check for wall jump if (wca.enabled && groundedWall) { //Play jump effect in addition to teleport star wca.playWallClimbEffects(oldp); } }
void showTeleportEffect(Vector3 oldp, Vector3 newp) { if (useStreak) { showStreak(oldp, newp); } if (useStar) { showTeleportStar(oldp, newp); } //Check for wall jump if (wca.enabled && groundedWall) { //Play jump effect in addition to teleport star wca.playWallClimbEffects(oldp); } }