public void SwitchPosition() { //Boat -> switch to harpooner if (Driver.HasControl) { Driver.ResetControls(); SetupHarpooner(); } //Harpooner -> switch to driver else { Harpooner.ResetControls(); SetupDriver(); } }
public void OnQTECompleted(bool success) { QTEManager.QTECompletedEvent -= OnQTECompleted; if (success) { UIScript.Instance.EnableAllUI(); Boat.Health = 30f; if (harpooner.HasControl) { Harpooner.GetCurrentStation().showTrajectoryLine(); } } else { DeathUponYou(); } driver.LeaveQTEAnimation(); harpooner.LeaveQTEAnimation(); // Do something with QTE completion }
public void AttachComponents() { Harpooner.SetFrontHarpooningStation(); AttachCamera(); }