void UpdatePlacementToScene() { PlacementInfo blueInfo = StrategyManager.PlacementBlue(GlobalMatchInfo); PlacementInfo yellowInfo = StrategyManager.PlacementYellow(GlobalMatchInfo); ObjectManager.SetBluePlacement(blueInfo); ObjectManager.SetYellowPlacement(yellowInfo); if (GlobalMatchInfo.WhosBall == 0) // 先摆后摆另考虑 { ObjectManager.SetBallPlacement(blueInfo); } else { ObjectManager.SetBallPlacement(yellowInfo); } Event.Send(Event.EventType1.MatchInfoUpdate, GlobalMatchInfo); }