baobao
12/18/2016 - 3:19 PM

AnimationEventでobject参照とAnimationEvent型を送るテスト

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);
    }
}