using System.Collections; using System.Collections.Generic; using UnityEngine; public class OnboardEqSyncHandler : AbsSyncHandler { OnBoardEquipCtrl onboardCtrl; protected override void Awake() { base.Awake(); onboardCtrl = this.GetComponent(); JoinHandList(); } public override void HandleSyncData(object msg, string msgType = null) { VectorThree vectorThree = (VectorThree)msg; onboardCtrl.SyncSetFloor(vectorThree.GetVector3()); } }