PurrNet Logo PurrNet
Membership Packages Studios Contact Docs
2,593 Discord 553 GitHub
$ login
2,593 553
$ login
🐈 Introduction
🏁 Getting Started
📚 Simple Guides
🖥️ Systems and modules
Network Manager
Transports
Network Identity
Network Modules
Common Pitfalls
Sync Types
SyncBigData
SyncTextureFile
Remote Procedure Calls
Broadcasts
Scene Management
Addressables
Instance Handler
🧊 Collider Rollback (Lag compensation)
BitPacker (Serialization)
Code stripping
Bandwidth Profiler
🔮 PurrDiction
🧰 Tools
🎮 Plug n' play components
🎮 Full game guides
✊ Community Guides
☁️ Game Server Hosting
🧩 Addons
🤓 Terminology
💡 Integrations
🕹️ Made with PurrNet
🪝 API Documentation
SyncBigData

SyncTextureFile

Edit this page on GitHub →

Defining the module:

[SerializeField] private SyncTextureFile _avatar;

Setting data as the controller:

_avatar.filePath = _path;

Reacting to new data received:

private void OnEnable()
{
    _avatar.onDataChanged += OnAvatarChanged;
}

private void OnDisable()
{
    _avatar.onDataChanged -= OnAvatarChanged;
}

private void OnAvatarChanged(Texture2D texture)
{
    _avatarImage.texture = texture;
}
← Previous SyncBigData Next → Remote Procedure Calls
Ctrl K
PurrNet Logo PurrNet
Install Packages Membership Docs GitHub ↗ Discord ↗ Contact Privacy Terms

© 2026 PurrNet