mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-09-07 09:55:24 -05:00
Merge branch 'GameLoading'
This commit is contained in:
@@ -5,7 +5,7 @@ using UnityEngine;
|
||||
|
||||
|
||||
|
||||
public class Blink : NetworkBehaviour{
|
||||
public class Blink : NetworkBehaviour {
|
||||
|
||||
// Start is called before the first frame update
|
||||
|
||||
@@ -43,7 +43,6 @@ public class Blink : NetworkBehaviour{
|
||||
//blinks the player forwards
|
||||
private void BlinkMove()
|
||||
{
|
||||
|
||||
if (!IsLocalPlayer) { return; }
|
||||
|
||||
if (Input.GetMouseButton(1))
|
||||
|
||||
@@ -4,7 +4,7 @@ using MLAPI;
|
||||
using UnityEngine;
|
||||
|
||||
|
||||
public class Dash : NetworkBehaviour{
|
||||
public class Dash : NetworkBehaviour {
|
||||
public Vector3 moveDirection;
|
||||
|
||||
public const float maxDashTime = 1.0f;
|
||||
@@ -21,8 +21,7 @@ public class Dash : NetworkBehaviour{
|
||||
|
||||
//UPDATE CHECK FOR MOVEMENT ONLY WHEN DASHING
|
||||
void FixedUpdate(){
|
||||
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
if (!IsLocalPlayer) { return; }
|
||||
|
||||
if (Input.GetKeyDown(KeyCode.E))
|
||||
{
|
||||
|
||||
@@ -68,8 +68,7 @@ public class WallRun : NetworkBehaviour
|
||||
|
||||
public void WallRunRoutine()
|
||||
{
|
||||
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
if (!IsLocalPlayer) { return; }
|
||||
|
||||
isWallRunning = false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user