quantum-space-buddies/QSB/EchoesOfTheEye/GrappleTotemSync/Messages/GrappleAnimateMessage.cs
2022-04-05 23:18:42 -07:00

16 lines
394 B
C#

using QSB.EchoesOfTheEye.GrappleTotemSync.WorldObjects;
using QSB.Messaging;
namespace QSB.EchoesOfTheEye.GrappleTotemSync.Messages;
public class GrappleAnimateMessage : QSBWorldObjectMessage<QSBGrappleTotem>
{
public override void OnReceiveRemote()
{
if (WorldObject.AttachedObject._totemAnimator != null)
{
WorldObject.AttachedObject._totemAnimator.SetTrigger("Zoom");
}
}
}