Small changes
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1209,7 +1209,7 @@ namespace Marro.PacManUdon
|
||||
SendEventSoon(NetworkEventType.TimeSequenceSync);
|
||||
}
|
||||
|
||||
private void Pause()
|
||||
public void Pause()
|
||||
{
|
||||
paused = true;
|
||||
stepNext = false;
|
||||
|
||||
@@ -9,8 +9,8 @@ namespace Marro.PacManUdon
|
||||
public NetworkManager networkManager;
|
||||
|
||||
public virtual void SyncedUpdate() { }
|
||||
public abstract void CollectSyncedData(byte[] data, ref int index, NetworkEventType eventType);
|
||||
public abstract bool WriteSyncedData(byte[] data, ref int index, NetworkEventType eventType);
|
||||
public virtual void CollectSyncedData(byte[] data, ref int index, NetworkEventType eventType) { }
|
||||
public virtual bool WriteSyncedData(byte[] data, ref int index, NetworkEventType eventType) { return false; }
|
||||
|
||||
protected void SubscribeToEvent(NetworkEventType eventType) => networkManager.SubscribeToEvent(this, eventType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user