I’ve been trying to get an animation event to call on a method in C#, but it doesn’t show in the animation view.
This is the code I use:
using UnityEngine;
using System.Collections;
public class s_AnimEvent1 : MonoBehaviour
{
public void PrintMe( float num )
{
Debug.Log("Method called with number: " + num);
}
}
Apologies for the messed up message. Tags don’t seem to work properly for some strange reason. Could it be FireFox5?