Removing more networking things
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user