Add an [Networked(<targets>)] attribute #35
Labels
blocked-vrc
Blocked due to missing underlying functionality or relying on some underspecified system
enhancement
New feature or request
Feature Description:
As a continuation of this it would be nice to have some sort of [Networked] attribute to use in your U# code. This will mean that we can use a C#-like style of invoking events while still keeping them networked, as right now we have to use
SendCustomNetworkEvent
.Additional context:
Examples of usage would be
Since we can define parameters for U# methods, this will also need to check for those and drop an error if you're trying to define a networked method with a parameter. But I think its a fair tradeoff for nicer code style and better refactoring support.
The text was updated successfully, but these errors were encountered: