-
-
Save SiunCyclone/0138d89f6e62d15b2be05c21215f91b7 to your computer and use it in GitHub Desktop.
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
[CreateAssetMenu(fileName = "Stack", menuName = "FPS Sample/Animation/AnimGraph/Stack")] | |
public class AnimGraph_Stack : AnimGraphAsset { | |
public List<AnimGraphAsset> rootNodes = new List<AnimGraphAsset>(); | |
public override IAnimGraphInstance Instatiate(EntityManager entityManager, Entity owner, PlayableGraph graph, Entity animStateOwner) { | |
var instance = new GraphInstance(entityManager, owner, graph, animStateOwner, this); | |
return instance; | |
} | |
class GraphInstance : IAnimGraphInstance, IGraphLogic { | |
// 略 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment