Last active
December 18, 2016 15:21
-
-
Save baobao/f1dba0236b4c93712a0f66dacf66421a to your computer and use it in GitHub Desktop.
AnimationEventでobject参照とAnimationEvent型を送るテスト
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
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