Hi, I am new to Unity and C#, below is what I tried to write in c# but Unity seems does not understand. Meaning is:“If GetCurrentDestinationState is not equal to Jump or Wallrun, and
GetCurrentState is not equal to Jump or Wallrun, then gravity is true.” Can anyone help me to change it in a proper C# way? Thanks in advance
if (asm.GetCurrentDestinationState() != "jump" || asm.GetCurrentDestinationState() != "wallrun" & asm.GetCurrentState() != "jump" || asm.GetCurrentState() != "wallrun")
gravity = true;