using QSB.Messaging; using QSB.WorldSync; using System.Linq; using UnityEngine; namespace QSB.EyeOfTheUniverse.ForestOfGalaxies.Messages { internal class EyeCloneSeenMessage : QSBMessage { public override bool ShouldReceive => QSBWorldSync.AllObjectsReady; public override void OnReceiveRemote() { var controller = QSBWorldSync.GetUnityObjects().First(); controller._warpFlickerActivated = true; controller._warpTime = Time.time + 0.5f; } } }