TowerDefenseGame/Assets/Scripts/Extensions/Extensions.cs
Nico ba13eb9e51 Create PlayerJumpHandler to deal with Player's jumping
Create Vfx for multiple jumps while on air
Finalize jumping ability with up to 3 multi-jump implementing a hacky bezier curve
2025-07-23 01:24:54 -07:00

9 lines
218 B
C#

using UnityEngine;
public static class IsoExtensions {
public static Vector2 NormalizedIso(this Vector2 input) {
Vector2 adjusted = new Vector2(input.x, input.y * 0.5f);
return adjusted.normalized;
}
}