AnimancerPlayable.

SetNextGraphName(string) Method

Summary

[Editor-Conditional] Sets the display name for the next Animancer.AnimancerPlayable.Create call to give its UnityEngine.Playables.PlayableGraph.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerPlayable

Syntax

[System.Diagnostics.Conditional(Strings.UnityEditor)]
public static void SetNextGraphName(string name)

Remarks

Having this method separate from Animancer.AnimancerPlayable.Create allows the System.Diagnostics.ConditionalAttribute to compile it out of runtime builds which would otherwise require #ifs on the caller side.

Attributes

Type Description
ConditionalAttribute

Parameters

Name Type Description
name string

Return Value

Type Description
void