Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

[Forge] Owner change Serialized Custom Instance Variables

$
0
0
So I have looked everywhere for this, hopefully someone can point me in the right direction.

I've been using the free version of Forge to give it a test, I have my NetworkedMonoBehavior searalizing variables like this:


void Awake()
{
AddNetworkVariable(() => DesiredSpeed, x => DesiredSpeed = (float)x);
AddNetworkVariable(() => DesiredRotation, x => DesiredRotation = (Quaternion)x);
AddNetworkVariable(() => Moving, x => Moving = (bool)x);
}

and in my...

[Forge] Owner change Serialized Custom Instance Variables

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>