quantum-space-buddies/QSB/EchoesOfTheEye/Prisoner/Messages/ProjectMessage.cs
2022-05-03 08:48:24 +01:00

15 lines
353 B
C#

using QSB.Messaging;
using QSB.WorldSync;
using System.Linq;
namespace QSB.EchoesOfTheEye.Prisoner.Messages;
internal class ProjectMessage : QSBMessage
{
public override void OnReceiveRemote()
{
var director = QSBWorldSync.GetUnityObject<PrisonerDirector>();
director._prisonerBrain.BeginBehavior(PrisonerBehavior.ExperienceVision, 0f);
}
}