- Added Contessa's portrait, jail video, and jail calls.
- Added newly added sounds and images to credits file. - ACME Crimenet Computer's image clues now support transparency. - ACME Crimenet Computer's image clues are now actually loaded from the JSON. - Adjusted position of North America floor map to make it faster to run across. - A Disaster Aria is now complete.
This commit is contained in:
@@ -98,12 +98,17 @@ public class ACMECrimenetComputer : UdonSharpBehaviour
|
||||
|
||||
_AudioManager.SendCustomNetworkEvent(NetworkEventTarget.All, "PlayMusicLoop", MusicEventType.ACMECrimenetComputerIdle);
|
||||
|
||||
}
|
||||
|
||||
[NetworkCallable]
|
||||
public void LoadClueImage(int Index)
|
||||
{
|
||||
TextureInfo AdditionalTextureInfo = new TextureInfo();
|
||||
AdditionalTextureInfo.WrapModeU = TextureWrapMode.Clamp;
|
||||
AdditionalTextureInfo.WrapModeV = TextureWrapMode.Clamp;
|
||||
AdditionalTextureInfo.GenerateMipMaps = true;
|
||||
_ClueImageDownloader.DownloadImage(
|
||||
_GameManager.GetClueImageURL(0), null,
|
||||
_GameManager.GetClueImageURL(Index), null,
|
||||
(IUdonEventReceiver)this, AdditionalTextureInfo);
|
||||
}
|
||||
public override void OnImageLoadSuccess(IVRCImageDownload Result)
|
||||
@@ -112,6 +117,12 @@ public class ACMECrimenetComputer : UdonSharpBehaviour
|
||||
base.OnImageLoadSuccess(Result);
|
||||
}
|
||||
|
||||
[NetworkCallable]
|
||||
public void SetClueImageScale(float Scale)
|
||||
{
|
||||
_ClueImageCard.transform.localScale = new Vector3(Scale, Scale, Scale);
|
||||
}
|
||||
|
||||
[NetworkCallable]
|
||||
public void OpenCompartment()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user