AnimancerEvent.Sequence.

AnimancerEvent.

IndexOf(string, int) Method

Summary

[Pro-Only] Returns the index of the event with the specified `name` or -1 if there is no such event.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerEvent.Sequence

Syntax

public int IndexOf(string name, int startIndex = 0)

Parameters

Name Type Description
name string
startIndex int

Return Value

Type Description
int

See Also

  • Animancer.AnimancerEvent.Sequence.Names
  • Animancer.AnimancerEvent.Sequence.GetName(System.Int32)
  • Animancer.AnimancerEvent.Sequence.SetName(System.Int32,System.String)
  • Animancer.AnimancerEvent.Sequence.IndexOfRequired(System.String,System.Int32)