Last active
October 26, 2023 16:37
-
-
Save bibbis/8bb5b3e5d235e06ad616324783e325a7 to your computer and use it in GitHub Desktop.
Callback intended for animation Events in Unity editor animations
This file contains hidden or 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
/// <summary> Callback intended for animation Events in Unity editor animations </summary> | |
public void AnimationCallback(string callback) | |
{ | |
switch (callback) | |
{ | |
case "Example": | |
break; | |
default: | |
throw new ArgumentOutOfRangeException("Unhandled case: " + callback); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment