- 博客(10)
- 收藏
- 关注
转载 python中socket通信
服务端import socketimport sqlite3import jsondef stratDef(HOST,PORT,sqlconn,cursor): s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind((HOST, PORT)) s.listen(5) while True: ...
2019-08-01 16:25:00
143
转载 python 解析 excel
import xlrd import openpyxl # 打开excel XlsBook = xlrd.open_workbook(os.path.join(path, "chinese", excel_name))# 获取某一个sheet页签信息 方法1 XlsSheet = XlsBook.sheet_by_name("sheet页签名") 方法2 XlsSheet = ...
2019-07-25 14:08:00
141
转载 python解析xml
import xml.dom.minidom # 打开xxx.xml文档xml_fail = xml.dom.minidom.parse(xmlpath) # 得到文档元素对象root = xml_fail.documentElement# 根据标签为xxx的信息,获取所有标签为xxx的信息xxx_info= model_res.getElementsByTagName("xxx")...
2019-07-25 12:11:00
133
转载 python对比两个文件
import os ,sysimport json def Compare_File(file1_path,file2_path): file1 = open(os.path.join(file1_path), "r") file2 = open(os.path.join(file2_path), "r") line1 = file1.readline...
2019-05-13 09:34:00
200
转载 AssetsBundle
简单的ab生成代码 using UnityEngine;using UnityEditor;using System.IO;public class CreatAssestBundle { static string MyAssestPath = Application.dataPath + "/MyStreamingAssets"; [MenuItem("AB/Asse...
2018-11-02 11:48:00
153
转载 初学Socket
服务器部分代码 using System.Collections;using System.Collections.Generic;using UnityEngine;using System.Net;using System.Net.Sockets;using System;public class NetManager : MonoBehaviour{ private byt...
2018-10-31 14:48:00
81
转载 角色控制器
using System.Collections;using System.Collections.Generic;using UnityEngine;public class Move : MonoBehaviour { CharacterController chara; //移动 public float moveSpeed = 10; public flo...
2018-10-26 18:31:00
1074
转载 VR手柄控制
using UnityEngine; using System.Collections; //检测手柄功能的脚本 这个脚本挂到手柄上(controler(right)和controler(left))上 public class ButtonTouchAction : MonoBehaviour { //手柄 SteamVR_TrackedObject trac...
2018-10-26 18:28:00
422
转载 学习网址大全
SDK接入学习 https://www.cnblogs.com/msxh/p/7220741.html 转载于:https://www.cnblogs.com/AEBOKE/p/9810381.html
2018-10-18 14:41:00
118
转载 初入博客
首次使用博客,努力吧骚年!!! 转载于:https://www.cnblogs.com/AEBOKE/p/9806002.html
2018-10-17 18:19:00
97
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人