You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
943 B
39 lines
943 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.Playables;
|
|
|
|
// A behaviour that is attached to a playable
|
|
public class NewPlayableBehaviour : PlayableBehaviour
|
|
{
|
|
// Called when the owning graph starts playing
|
|
public override void OnGraphStart(Playable playable)
|
|
{
|
|
|
|
}
|
|
|
|
// Called when the owning graph stops playing
|
|
public override void OnGraphStop(Playable playable)
|
|
{
|
|
|
|
}
|
|
|
|
// Called when the state of the playable is set to Play
|
|
public override void OnBehaviourPlay(Playable playable, FrameData info)
|
|
{
|
|
|
|
}
|
|
|
|
// Called when the state of the playable is set to Paused
|
|
public override void OnBehaviourPause(Playable playable, FrameData info)
|
|
{
|
|
|
|
}
|
|
|
|
// Called each frame while the state is set to Play
|
|
public override void PrepareFrame(Playable playable, FrameData info)
|
|
{
|
|
|
|
}
|
|
}
|