Removing more networking things

This commit is contained in:
2025-12-28 19:40:10 +01:00
parent 74223c8139
commit e3f93c69c5
7 changed files with 864 additions and 943 deletions

View File

@@ -1,12 +1,13 @@
namespace Marro.PacManUdon
{
using Assets.Scripts;
using UdonSharp;
using UnityEngine;
using VRC.SDK3.Data;
using VRC.SDKBase;
using VRC.Udon;
public class BonusFruit : UdonSharpBehaviour
public class BonusFruit : SyncedObject
{
[SerializeField, UdonSynced, FieldChangeCallback(nameof(FruitType))] PacManFruitType fruitType;
@@ -83,6 +84,16 @@
RequestSerialization();
}
public override void AppendSyncedData(byte[][] data, ref int offset)
{
}
public override bool SetSyncedData(byte[] data, ref int offset)
{
return true;
}
public PacManFruitType FruitType
{
set