void OnCollisionEnter(Collision col) { if (col.gameObject.tag == "JumpPlatform") { inPlatform = true; machine.Jump_EnterState(); } }