游戏蛮牛学习群(纯技术交流,不闲聊):539178957
游戏蛮牛 手机端
开启辅助访问
 找回密码
 注册帐号

扫一扫,访问微社区

首页   >   博客   >  UnityTerminator  >  MMO游戏设计框架
UnityTerminator 个人分类:MMO游戏设计框架 122 2018-7-9 20:37

csharpcode: using System.Collections; using System.Collections.Generic; using UnityEngine; public class SkillRange { /// summary /// 扇形范围判定 /// /summary /// returnsctrue/c, if range was curved, cfalse/c otherwise./returns /// param name="self"Player./par ...

UnityTerminator 个人分类:MMO游戏设计框架 303 2018-7-5 20:15

csharpcode: using System; using System.Collections.Generic; using UnityEngine; /// summary /// 所有界面的基类 /// /summary public abstract class BaseWnd { protected Transform _transform; /// summary /// 打开窗口 /// /summary /// param name="canvas" ...

UnityTerminator 个人分类:MMO游戏设计框架 207 2018-7-5 16:41

csharpcode: using UnityEngine; using System.Collections.Generic; public class StateFunc { public delegate void EnterFunc(object param); public delegate void ExitFunc(); public delegate void UpdateFunc(float dt); public EnterFunc enterFunc; public ExitFunc exit ...

UnityTerminator 个人分类:MMO游戏设计框架 190 2018-7-5 11:00

csharpcode: using System; using System.Collections.Generic; using UnityEngine; public class Timer { /// summary /// 延迟时间 /// /summary private float _delayTime; /// summary /// 已经过去的时间 /// /summary private float _elapsedTime; ...

UnityTerminator 个人分类:MMO游戏设计框架 135 2018-7-5 10:40

csharpcode: using System; using System.Collections.Generic; public class SingletonT where T : class, new() { private static T _instance; public static T instance { get { if(_instance == null) { _instance = new T( ...

UnityTerminator 个人分类:MMO游戏设计框架 176 2018-7-5 10:17

csharpcode: using System; using System.Collections.Generic; using UnityEngine; public class Pool { /// summary /// 创建一个列表容器用来保存预制体对象 /// /summary private ListGameObject _avaliables = new ListGameObject(); /// summary /// 生成对象 ...

返回顶部