public void Update() { if(Swimming.InWater) { currentMovement = Swimming; if(Swimming.AtSurface) { bool jumping = InputButton.Button(ButtonNames.Jump); if(jumping) { SetCurrentMovementToDefault(new DefaultMovement.InitializeDefaultMovement(Swimming.activePlatform, Swimming.lastPlatform)); } } } else { //How do we know we came from water? :( //currentMovement = Default; // HORE SKJALG DET HЖR GJOR TE AT ALT Ж GJOR VART NULLA UT AV KUKEN HER LOL } // Grappling HookButton if (InputButton.ButtonDown(ButtonNames.Use)) { if (GrapplingHookRope.Enabled) { GrapplingHookRope.Cancel(); SetCurrentMovement(Default); } else { GameObject attachmentPoint = GetAttachmentPoint(); if(attachmentPoint != null) { GrapplingHookRope.Launch(transform, attachmentPoint.transform); } } if (currentMovement.GetType() == typeof(GrapplingHook)) { SetCurrentMovement(Default); } } // Jump Button if(InputButton.Button(ButtonNames.Jump)) { if(GrapplingHookRope.Enabled) { GrapplingHookRope.Cancel(); SetCurrentMovement(Default); } if(currentMovement.GetType() == typeof(GrapplingHook)) { SetCurrentMovement(Default); } } currentMovement.Movement(); debug = currentMovement.GetType().Name; }
HORE SKJALG DET HЖR GJOR TE AT ALT Ж GJOR VART NULLA UT AV KUKEN HER LOL
|
HORE SKJALG DET HЖR GJOR TE AT ALT Ж GJOR VART NULLA UT AV KUKEN HER LOL
Anyhow, I think it's got something to do with movement? |
ORE SKJALG DET HЖR GJOR TE AT ALT Ж GJOR VART NULLA UT AV KUKEN HER LOL
ORE Skjalg THE ARMY MAKES TEA AT ALL Y DO BLACK ZERO OUT OF HERE dick LOL
ORE Skjalg THERE HAS BEEN AT ALL EG DO BLACK ZERO OUT OF HERE dick LOL