随笔分类 - C#
摘要:脚本是附加在游戏物体上用于定义游戏对象行为的指令代码 附加到游戏物体的脚本类必须从MonoBehaviour类继承 脚本初始化: using System.Collections; using System.Collections.Generic; using UnityEngine; public
阅读全文
摘要:快速过完C#,适合有Java或者C++基础的,主要关注和其它语言的差异 内置类型 sbyte a; //1 byte b; //1 short c; //2 ushort d; //2 int e; //4 uint f; //4 long g; //8 ulong h; //8 float i;
阅读全文

浙公网安备 33010602011771号