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); |
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
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
[System.Serializable] | |
public class ClassName | |
{ | |
public int Property1; |