public static void SendEvent(BoltEntity entity, AnimState animState) { if (!BoltNetwork.IsRunning || entity == null) { return; } try { var ev = AnimationEvent.Create(Bolt.GlobalTargets.Others, Bolt.ReliabilityModes.ReliableOrdered); ev.AnimationEntity = entity; ev.AnimationType = (int)Type.Trigger; ev.AnimState = (int)animState; ev.Send(); } catch (System.Exception ex) { Debug.LogException(ex); } }