Fixing CS1503: Argument ‘#2’ cannot convert ‘UnityEngine.ForceMode’ expression to type ‘UnityEngine.ForceMode2D’

There is a common mistake for Unity3d newcomers when they are trying…

Fixing CS1503: Argument '#2' cannot convert 'UnityEngine.ForceMode' expression to type 'UnityEngine.ForceMode2D'

There is a common mistake for Unity3d newcomers when they are trying to implement jumping action in a 2D game. This error has code CS1503 and says that you cannot convert ‘UnityEngine.ForceMode’ expression to type ‘UnityEngine.ForceMode2D’.