5 cs317708573

尚未进行身份认证

暂无相关描述

等级
TA的排名 139w+

椭圆

usingUnityEngine;usingSystem.Collections;usingUnityEngine.Networking;publicclassEllipseMove:NetworkBehaviour{  publicfloatw;//椭圆长   publicfloath;//椭圆高   publicfloatmoveS...

2018-11-08 17:33:32

ugui双击长按

usingUnityEngine;usingUnityEngine.EventSystems;publicclassHitSecondTime:MonoBehaviour,IPointerClickHandler,IPointerDownHandler{  publicvoidOnPointerClick(PointerEventDataeventData)  { ...

2018-07-04 16:40:40

地形画线

usingUnityEngine;usingSystem.Collections; publicclassGLTest:MonoBehaviour{  publicVector3target;  publicfloatheight;  publicLineRendererlinerenderer;  publicfloatdistance;  pri...

2018-06-14 10:20:45

获取mac地址

publicstaticvoidPrintAllMacAddress()  {    constintMIN_MAC_ADDR_LENGTH=12;    stringmacAddress=string.Empty;    longmaxSpeed=-1;    foreach(NetworkInterfa

2017-11-28 09:25:19

string转float

strings="123.2";//方法1floatf1=Convert.ToSingle(s);//方法2floatf2;if(!float.TryParse(s,outf2)){

2017-07-29 15:15:58

左右切换

voidNextTexture()  {    if(i>=0&&i    {      i++;      m.mainTexture=tex[i];    }    else{      i=0;      m.mainTexture=tex[0]

2017-07-06 15:34:40

获取IP

IPHostEntryhost;    stringlocalIP="?";    host=Dns.GetHostEntry(Dns.GetHostName());    foreach(IPAddressipinhost.AddressList)    {      if(ip.AddressFamily.T

2017-06-27 17:22:20

读取文件夹内容并显示到UGUI

usingSystem.Collections;usingSystem.Collections.Generic;usingSystem.IO;usingUnityEngine;usingUnityEngine.UI;publicclassTestCreateText:MonoBehaviour{  publicGameObject

2017-06-03 17:16:44

读取Excel

usingSystem.Collections;usingSystem.Collections.Generic;usingUnityEngine;usingSystem.IO;usingExcel;usingSystem.Data;usingUnityEngine.UI;publicclassTestExcel:MonoBehaviour

2017-06-03 17:12:13
勋章 我的勋章
    暂无奖章