AttributesSyncGetMethodAttributeId Method
Get index of method with the SynchronizableMethod attribute by name.
Namespace: Alteruna.Multiplayer.UnityAssembly: Alteruna.Multiplayer.Unity (in Alteruna.Multiplayer.Unity.dll) Version: 2.1.3+c5328b35489e83c42e288435f5acf6115fd519e0
public int GetMethodAttributeId(
string methodName
)
- methodName String
- Name of a method with the SynchronizableMethod attribute.
Int32Index of method with the
SynchronizableMethod attribute with target name.
| ArgumentException | Thrown when methodName does not mach a name of a registered method. |