- 博客(6)
- 收藏
- 关注
转载 客户端与服务器的粘包问题
//客户端using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Net;using System.Net.Sockets;using System.IO;namespace Console...
2018-05-28 21:01:46 463
转载 服务器与客户端
客户端using System;using System.Collections;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Net;using System.Net.Sockets;using Syste...
2018-05-25 13:30:47 178
转载 Unity3d VR手柄射线拾取,投掷,发射可拿去的物体
一using UnityEngine;/// <summary>/// 手柄射线原代码要添加好1. SteamVR_LaserPointer 2.SteamVR_TrackedController/// 以下是负责射线抓取的代码/// </summary>public class catchObject : MonoBehaviour{ SteamVR...
2018-05-21 22:31:14 2571
转载 2D打砖块小游戏脚本ss
主角脚本using UnityEngine;using System.Collections;public delegate void VoidDelegate();//声明委托public class BoadControll : MonoBehaviour//主角脚本{ bool gameStart = false; int score; float max...
2018-05-04 20:04:33 842
转载 日常记背单词
1.Unity生命周期10个; Awake,OnEnable,Start,Update,LateUpdate,FixedUpdate, OnGUI,OnDisable,OnDestroy,OnApplicationPause;2.获取场景中游戏对象方法,3个; GameObject.Find(); GameObject.FindGameObjectWithTag Ga...
2018-05-02 18:17:26 222
转载 常见_Bug
1.Null Reference Exception: Object reference not set to an instance of an object空指针(引用)异常,2.Unassigned Reference Exception: The variable cube of lesson03 has not been assigned.You probably need to ass...
2018-05-02 18:14:19 1037
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人