- Fixed a bug that caused the crook portrait to never update except on owner.
- Reduced polygon count of drywall meshes. - Improved triangulation of the TV screen. - Improved lightmaps, and reduce their size. - Added video player to show Patty Larceny going to jail. - Added temporary Patty In Jail tune. - Added a new interface to the host card for these experimental features.
This commit is contained in:
@@ -272,11 +272,7 @@ public class LocationBoard : UdonSharpBehaviour
|
||||
_HasBeenCheckedBefore[i] = false;
|
||||
}
|
||||
|
||||
MeshRenderer CrookMesh;
|
||||
if (CrookMesh = _LocationPanelsCrook[CrookLocation - 1].GetComponent<MeshRenderer>())
|
||||
{
|
||||
CrookMesh.sharedMaterial.SetTexture("_MainTex", _GameManager.GetCrookPortrait());
|
||||
}
|
||||
RequestSerialization();
|
||||
}
|
||||
|
||||
public void RandomiseMaterials()
|
||||
@@ -296,6 +292,7 @@ public class LocationBoard : UdonSharpBehaviour
|
||||
}
|
||||
|
||||
SendCustomNetworkEvent(NetworkEventTarget.All, nameof(ApplyRandomMaterials), MaterialsArray);
|
||||
RequestSerialization();
|
||||
}
|
||||
|
||||
[NetworkCallable]
|
||||
@@ -357,6 +354,12 @@ public class LocationBoard : UdonSharpBehaviour
|
||||
|
||||
_LocationPanelsCrook[Panel - 1].SetActive(true);
|
||||
}
|
||||
|
||||
MeshRenderer CrookMesh;
|
||||
if (CrookMesh = _LocationPanelsCrook[CrookLocation - 1].GetComponent<MeshRenderer>())
|
||||
{
|
||||
CrookMesh.sharedMaterial.SetTexture("_MainTex", _GameManager.GetCrookPortrait());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user