Method OnInitialize
OnInitialize(ref NetworkTransformState)
Invoked when first spawned and when ownership changes.
Declaration
protected override void OnInitialize(ref NetworkTransform.NetworkTransformState replicatedState)
Parameters
Type | Name | Description |
---|---|---|
NetworkTransform.NetworkTransformState | replicatedState | the current NetworkTransform.NetworkTransformState after initializing |