mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-11 00:52:19 +00:00
21 lines
631 B
C#
21 lines
631 B
C#
using QSB.Animation.NPC.WorldObjects;
|
|
using QSB.WorldSync;
|
|
using System.Linq;
|
|
using UnityEngine;
|
|
|
|
namespace QSB.Animation.NPC
|
|
{
|
|
internal class CharacterAnimManager : WorldObjectManager
|
|
{
|
|
protected override void RebuildWorldObjects(OWScene scene)
|
|
{
|
|
QSBWorldSync.Init<QSBCharacterAnimController, CharacterAnimController>();
|
|
QSBWorldSync.Init<QSBTravelerController, TravelerController>();
|
|
|
|
//TODO : this is the wrong place to put this... move it to Conversations?
|
|
QSBWorldSync.OldDialogueTrees.Clear();
|
|
QSBWorldSync.OldDialogueTrees = Resources.FindObjectsOfTypeAll<CharacterDialogueTree>().ToList();
|
|
}
|
|
}
|
|
}
|