定制OP
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
using UnityEngine;
|
||||
using UnityEngine.Playables;
|
||||
|
||||
namespace AibisDream
|
||||
{
|
||||
public class SpriteLoopAsset : PlayableAsset
|
||||
{
|
||||
public override Playable CreatePlayable(PlayableGraph graph, GameObject owner)
|
||||
{
|
||||
var playable = ScriptPlayable<SpriteLoopBehaviour>.Create(graph);
|
||||
var behaviour = playable.GetBehaviour();
|
||||
|
||||
// behaviour.targetRenderer =
|
||||
|
||||
return playable;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user