quantum-space-buddies/QSB/Animation/NPC/CharacterAnimManager.cs
2021-11-14 03:55:11 -08:00

22 lines
755 B
C#

using QSB.Animation.NPC.WorldObjects;
using QSB.WorldSync;
using System.Linq;
namespace QSB.Animation.NPC
{
internal class CharacterAnimManager : WorldObjectManager
{
protected override void RebuildWorldObjects(OWScene scene)
{
QSBWorldSync.Init<QSBCharacterAnimController, CharacterAnimController>();
QSBWorldSync.Init<QSBTravelerController, TravelerController>();
QSBWorldSync.Init<QSBSolanumController, NomaiConversationManager>();
QSBWorldSync.Init<QSBSolanumAnimController, SolanumAnimController>();
//MOVE : this is the wrong place to put this... move it to Conversations?
QSBWorldSync.OldDialogueTrees.Clear();
QSBWorldSync.OldDialogueTrees = QSBWorldSync.GetUnityObjects<CharacterDialogueTree>().ToList();
}
}
}