get_animator


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.4" ) ]
public unowned Animator get_animator (string source_state_name, string target_state_name)

Warning: get_animator is deprecated since 1.12.

Retrieves the Animator that is being used for transitioning between the two states, if any has been set

Note:

Parameters:

this

a State instance.

source_state_name

the name of a source state

target_state_name

the name of a target state

Returns:

a Animator instance, or null