Skip to content

Commit 335e88d

Browse files
committed
add comments
1 parent dd9796e commit 335e88d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Reactor.Example/ExampleInnerNetObject.cs

+3
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,18 @@ public static GameObject GetPrefabByGameObject()
2525
throw new NotImplementedException($"GetPrefab prefab retrieval not implemented!");
2626
}
2727

28+
// Must be defined; in InnerNetObject, the method is abstract, so if not, an error will be thrown.
2829
public override void HandleRpc(byte callId, MessageReader reader)
2930
{
3031
}
3132

33+
// Must be defined; in InnerNetObject, the method is abstract, so if not, an error will be thrown.
3234
public override bool Serialize(MessageWriter writer, bool initialState)
3335
{
3436
return false;
3537
}
3638

39+
// Must be defined; in InnerNetObject, the method is abstract, so if not, an error will be thrown.
3740
public override void Deserialize(MessageReader reader, bool initialState)
3841
{
3942
}

0 commit comments

Comments
 (0)