奥行き座標をなくしたい

SideScrollerTemplateを参考に、CharacterMovementComponentの Planar Movement > Constrain to Plain をONにしてください