Summary
[Editor-Conditional]
Sets the display name for the next Animancer.AnimancerPlayable.Create
call to give its UnityEngine.Playables.PlayableGraph
.
Syntax
[System.Diagnostics.Conditional(Strings.UnityEditor)]
public static void SetNextGraphName(string name)
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