- Fixed an issue where changing the order of actors in the animation was not being perpetuated across all animation stages
This commit is contained in:
AbstractConcept 2023-01-11 22:36:57 -06:00
parent b6d3df800d
commit ab53ed284f
46 changed files with 71 additions and 62 deletions

View file

@ -139,6 +139,11 @@ namespace RimWorldAnimationStudio
return animationDef?.AnimationStages.ElementAtOrDefault(stageID);
}
public static PawnAnimationClip GetPawnAnimationClip(int stageID, int actorID)
{
return GetAnimationStage(stageID)?.AnimationClips.ElementAtOrDefault(actorID);
}
public static PawnAnimationClip GetPawnAnimationClip(int actorID)
{
return GetCurrentAnimationStage()?.AnimationClips.ElementAtOrDefault(actorID);