Skip to content

Feature/simple sync check#277

Merged
from2001 merged 2 commits intodevelopfrom
feature/SimpleSyncCheck
Jan 12, 2026
Merged

Feature/simple sync check#277
from2001 merged 2 commits intodevelopfrom
feature/SimpleSyncCheck

Conversation

@from2001
Copy link
Collaborator

This pull request introduces a new sample called SimpleSyncCheck to the project, which demonstrates synchronized color changes across clients using the NetSync system. The main addition is the ChangeColor script, which handles color changes via RPC and global variable synchronization, along with supporting asset and metadata files.

New sample functionality for color synchronization

  • Added ChangeColor script (ChangeColor.cs) that listens for RPCs and global variable changes to update the color of a target renderer, supporting both remote and global variable-based synchronization.
  • The script includes multiple color options and provides methods to trigger color changes via RPC or global variable updates, with debug logging for easier troubleshooting.

Supporting assets for the sample

  • Added a material asset (Screen.mat) and its metadata for use in the sample scene. [1] [2]
  • Included metadata files for the sample folder, script, and scene to ensure proper Unity asset management. (SimpleSyncCheck.meta, ChangeColor.cs.meta, SyncCheck.unity.meta) [1] [2] [3]

@from2001
Copy link
Collaborator Author

@afjk
I'll merge the Simple Sync Check scene which you made.
I changed the value of the discovery port to the default value 9999 in order not to make a confusion.

@from2001 from2001 merged commit f1ae0bc into develop Jan 12, 2026
@from2001 from2001 deleted the feature/SimpleSyncCheck branch January 12, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants