SynchronizableGetMethodAttributeId Method

Get id of method with the SynchronizableMethod attribute by name.

Definition

Namespace: Alteruna.Multiplayer.Unity
Assembly: Alteruna.Multiplayer.Unity (in Alteruna.Multiplayer.Unity.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
C#
public int GetMethodAttributeId(
	string methodName
)

Parameters

methodName  String
Name of a method with the SynchronizableMethod attribute.

Return Value

Int32
Id of method with the SynchronizableMethod attribute with target name.

Exceptions

ArgumentExceptionThrown when methodName does not mach a name of a registered method.

See Also