public BtlCut_Live2D Play() { Live2DModel instance = SingletonMonoBehaviour <Live2DModel> .Instance; instance.PlayOnce(Live2DModel.MotionType.Battle, null); return(this); }
public BtlCut_Live2D PlayShipVoice(int nVoiceNum) { Live2DModel instance = SingletonMonoBehaviour <Live2DModel> .Instance; ShipUtils.PlayShipVoice(BattleCutManager.GetMapManager().Deck.GetFlagShip(), nVoiceNum); return(this); }
public BtlCut_Live2D ChangeMotion(Live2DModel.MotionType iType) { Live2DModel instance = SingletonMonoBehaviour <Live2DModel> .Instance; instance.ChangeMotion(iType); return(this); }
public void sailSelectFirstInit() { shipIconManager = StrategyTopTaskManager.Instance.ShipIconManager; infoManager = StrategyTopTaskManager.Instance.GetInfoMng(); areaManager = StrategyTopTaskManager.Instance.GetAreaMng(); TileFocusColor = new Color(25f, 227f, 143f, 1f); sttm = StrategyTaskManager.GetStrategyTop(); DeckSelectController = new KeyControl(0, StrategyTopTaskManager.GetLogicManager().UserInfo.DeckCount - 1); DeckSelectController.setChangeValue(0f, 1f, 0f, -1f); DeckSelectController.KeyInputInterval = 0.2f; DeckSelectController.SilentChangeIndex(SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeckID); Live2DModel = SingletonMonoBehaviour <Live2DModel> .Instance; int currentAreaID = SingletonMonoBehaviour <AppInformation> .Instance.CurrentAreaID; KeyControlManager.Instance.KeyController.Index = currentAreaID; shipIconManager.setShipIcons(StrategyTopTaskManager.GetLogicManager().UserInfo.GetDecks()); SingletonMonoBehaviour <AppInformation> .Instance.prevStrategyDecks = null; FirstPlayVoice = delegate { StrategyTopTaskManager.Instance.UIModel.Character.PlayVoice(SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeck); }; isEnableCharacterEnter = true; prevDeckID = SingletonMonoBehaviour <AppInformation> .Instance.CurrentDeckID; }