Created
January 17, 2018 19:37
-
-
Save Dreezn/bb0ba4a5397c3f3c1401d6aca293e243 to your computer and use it in GitHub Desktop.
Naming the clips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//[Omited...] | |
public class CustomTransformationBehaviour : PlayableBehaviour | |
{ | |
//[Omited...] | |
public TimelineClip CustomClipReference { get; set; } | |
public override void OnGraphStart(Playable playable) | |
{ | |
CustomClipReference.displayName = transformation == null ? "none" : transformation.name; | |
base.OnGraphStart(playable); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment