- Floor maps were made a more appropriate size, and gameplay timing adjusted.
- Markers now become entirely vertical when dropped by non-VR players. - Created more music loops.
This commit is contained in:
@@ -46,8 +46,6 @@ public class FloorMap : UdonSharpBehaviour
|
||||
_ChosenCountries[i] = Location.Country;
|
||||
_ChosenCities[i] = Location.City;
|
||||
}
|
||||
|
||||
Debug.LogError("Current location: " + _ChosenCities[_CurrentCountry] + ", " + _ChosenCountries[_CurrentCountry]);
|
||||
}
|
||||
|
||||
public int NextCountry()
|
||||
|
||||
@@ -3,7 +3,7 @@ using UdonSharp;
|
||||
using UnityEngine;
|
||||
using VRC.SDK3.Components;
|
||||
using VRC.SDK3.Data;
|
||||
using static UnityEditor.FilePathAttribute;
|
||||
using VRC.SDKBase;
|
||||
|
||||
|
||||
[UdonBehaviourSyncMode(BehaviourSyncMode.Manual)]
|
||||
@@ -60,6 +60,13 @@ public class FloorMapMarker : UdonSharpBehaviour
|
||||
public override void OnDrop()
|
||||
{
|
||||
IsGrabbed = false;
|
||||
|
||||
VRCPlayerApi Owner = Networking.GetOwner(gameObject);
|
||||
if (!Owner.IsUserInVR())
|
||||
{
|
||||
transform.eulerAngles = new Vector3(0.0f, transform.eulerAngles.y, 0.0f);
|
||||
}
|
||||
|
||||
CheckCollisions();
|
||||
|
||||
base.OnDrop();
|
||||
|
||||
Reference in New Issue
Block a user