Fixed the elevator for multiplayer
This commit is contained in:
parent
ef3b4c363e
commit
47d37f2b7f
@ -156,7 +156,7 @@ public class ElevatorBox : NetworkBehaviour
|
||||
|
||||
Debug.Log("Calling Lift transfer sequence");
|
||||
|
||||
switch (targetFloor)
|
||||
switch (currentFloor)
|
||||
{
|
||||
case int f when f == floors[0].floorNumber:
|
||||
targetFloor = floors[1].floorNumber;
|
||||
|
||||
@ -55,7 +55,7 @@ namespace _PROJECT.NewHandPresence
|
||||
var devices = new List<InputDevice>();
|
||||
InputDevices.GetDevicesWithCharacteristics(controllerCharacteristics, devices);
|
||||
|
||||
Debug.Log("Found devices: " + devices.Count);
|
||||
//Debug.Log("Found devices: " + devices.Count);
|
||||
|
||||
if (devices.Count <= 0) return;
|
||||
|
||||
|
||||
BIN
Assets/_PROJECT/Scenes/DeltaBuilding_base.unity
(Stored with Git LFS)
BIN
Assets/_PROJECT/Scenes/DeltaBuilding_base.unity
(Stored with Git LFS)
Binary file not shown.
@ -148,11 +148,11 @@ public class FirstPersonOcclusion : MonoBehaviour
|
||||
if (isHit)
|
||||
{
|
||||
lineCastHitCount++;
|
||||
Debug.DrawLine(Start, End, Color.red);
|
||||
//Debug.DrawLine(Start, End, Color.red);
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.DrawLine(Start, End, colour);
|
||||
//Debug.DrawLine(Start, End, colour);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user