Esempio n. 1
0
        private void SetCharacterAnimation(SetCharacterAnimationMsg msg)
        {
            dicCharacter[playerInventoryModel.NowCharacter].GetComponent <Character_Controller>().SetAniMation((int)msg.animationType, msg.isBluetoothCommand);

            if (settingModel.IsBluetoothConnet && !msg.isBluetoothCommand)
            {
                AndroidTrasferMgr.Instance.BluetoothSendMsg(msg.animationType.ToString(), SENDMSGTYPE.ANIMATION);
            }
        }
        private void SetCharacterAnimation(SetCharacterAnimationMsg msg)
        {
            int tempAniNum = (int)msg.animationType;

            nowCharacter_Controller.SetAniMation(tempAniNum, msg.isBluetoothCommand);

            if (settingModel.IsBluetoothConnet && !msg.isBluetoothCommand)
            {
                WindowBluetooth.GetInstance().SendBluetoothMsg(msg.animationType.ToString(), SENDMSGTYPE.ANIMATION);
            }
        }