mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-08-21 18:04:27 -05:00
small changes to player and items for cleanup
This commit is contained in:
@@ -9,7 +9,7 @@ public class dBlink : NetworkBehaviour{
|
||||
|
||||
// Start is called before the first frame update
|
||||
|
||||
private Camera cam;
|
||||
public Camera cam;
|
||||
public CharacterController controller;
|
||||
//Blink Variables
|
||||
private LineRenderer beam;
|
||||
@@ -36,12 +36,11 @@ public class dBlink : NetworkBehaviour{
|
||||
|
||||
// Grab the main camera.
|
||||
//camera transform
|
||||
cam = GetComponentInChildren<Camera>();
|
||||
}
|
||||
|
||||
//ADJUST SO DISTANCE IS DETERMINED BY SCROLL WHEEL
|
||||
//blinks the player forwards
|
||||
private void BlinkMove()
|
||||
public void BlinkMove()
|
||||
{
|
||||
//if (!IsLocalPlayer) { return; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user