- Added some camera anchors for Round 2.
- Modem is once again functional. - Round 1 entrance door is now about as thin as a standard door should be.
This commit is contained in:
parent
f88c5598ee
commit
1866a92c8a
Binary file not shown.
@ -114,10 +114,10 @@ MonoBehaviour:
|
||||
overrideState: 1
|
||||
value: 1
|
||||
temperature:
|
||||
overrideState: 1
|
||||
overrideState: 0
|
||||
value: 0
|
||||
tint:
|
||||
overrideState: 1
|
||||
overrideState: 0
|
||||
value: 0
|
||||
colorFilter:
|
||||
overrideState: 1
|
||||
|
||||
@ -100,7 +100,7 @@ SphereCollider:
|
||||
m_Material: {fileID: 0}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_Bits: 1536
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,6 @@ using UdonSharp;
|
||||
using UnityEngine;
|
||||
using VRC.SDK3.UdonNetworkCalling;
|
||||
using VRC.SDKBase;
|
||||
using VRC.Udon;
|
||||
using VRC.Udon.Common.Interfaces;
|
||||
|
||||
|
||||
@ -29,8 +28,6 @@ public class Modem : UdonSharpBehaviour
|
||||
|
||||
|
||||
public override void OnPlayerTriggerEnter(VRCPlayerApi Player)
|
||||
{
|
||||
if (Player.IsOwner(gameObject))
|
||||
{
|
||||
for (int i = 0; i < MAX_PLAYERS_IN_MODEM; i++)
|
||||
{
|
||||
@ -42,14 +39,11 @@ public class Modem : UdonSharpBehaviour
|
||||
}
|
||||
|
||||
RequestSerialization();
|
||||
}
|
||||
|
||||
base.OnPlayerTriggerEnter(Player);
|
||||
}
|
||||
|
||||
public override void OnPlayerTriggerExit(VRCPlayerApi Player)
|
||||
{
|
||||
if (Player.IsOwner(gameObject))
|
||||
{
|
||||
for (int i = 0; i < MAX_PLAYERS_IN_MODEM; i++)
|
||||
{
|
||||
@ -61,7 +55,6 @@ public class Modem : UdonSharpBehaviour
|
||||
}
|
||||
|
||||
RequestSerialization();
|
||||
}
|
||||
|
||||
base.OnPlayerTriggerExit(Player);
|
||||
}
|
||||
@ -75,6 +68,7 @@ public class Modem : UdonSharpBehaviour
|
||||
|
||||
public void Teleport()
|
||||
{
|
||||
Networking.SetOwner(Networking.LocalPlayer, gameObject);
|
||||
BeginTeleport = true;
|
||||
RequestSerialization();
|
||||
}
|
||||
@ -87,14 +81,14 @@ public class Modem : UdonSharpBehaviour
|
||||
_ModemAnimator.SetBool("Teleport", true);
|
||||
_ModemDestinationAnimator.SetBool("Teleport", true);
|
||||
|
||||
SendCustomEventDelayedSeconds(nameof(TeleportAllPlayers), 4.0f);
|
||||
SendCustomEventDelayedSeconds(nameof(TeleportAllPlayers), 2.5f);
|
||||
SendCustomEventDelayedSeconds(nameof(EndTeleport), 6.0f);
|
||||
}
|
||||
|
||||
public void TeleportAllPlayers()
|
||||
{
|
||||
// Only the Modem owner should execute teleportations.
|
||||
if (Networking.GetOwner(gameObject) == Networking.LocalPlayer)
|
||||
if (Networking.LocalPlayer.IsOwner(gameObject))
|
||||
{
|
||||
SendCustomNetworkEvent(NetworkEventTarget.All, nameof(TeleportLocalPlayerIfInModem));
|
||||
}
|
||||
|
||||
1
ClientSimStorage/PlayerData/PlayerData_5_witwics.json
Normal file
1
ClientSimStorage/PlayerData/PlayerData_5_witwics.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
1
ClientSimStorage/PlayerData/PlayerData_6_witwics.json
Normal file
1
ClientSimStorage/PlayerData/PlayerData_6_witwics.json
Normal file
@ -0,0 +1 @@
|
||||
{}
|
||||
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
||||
@ -0,0 +1,3 @@
|
||||
{
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user