Skip to content

Instantly share code, notes, and snippets.

@baobao
Last active December 18, 2016 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save baobao/f1dba0236b4c93712a0f66dacf66421a to your computer and use it in GitHub Desktop.
Save baobao/f1dba0236b4c93712a0f66dacf66421a to your computer and use it in GitHub Desktop.
AnimationEventでobject参照とAnimationEvent型を送るテスト
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class SampleAnimHandler : MonoBehaviour
{
public void SetObjectRef(UnityEngine.Object obj)
{
Debug.Log (obj);
}
public void SetAnimationEvent (AnimationEvent ev)
{
Debug.Log (ev);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment