摘要:
public class SingletonManager<T> : MonoBehaviour where T : MonoBehaviour { private static T instance; public static T GetInstance() { if (instance == 阅读全文
摘要:
//状态机接口 Public interface IState{ Void Enter(EntityBase entity,params object[] args); } //不同状态继承状态机 Public class StateAttack:Istate{ Public void Enter( 阅读全文
摘要:
监听泛型 public class PEListener : MonoBehaviour,IPointerClickHandler,IPointerDownHandler,IPointerUpHandler,IDragHandler{ public Action<object> onClick; p 阅读全文
摘要:
使用127.0.0.1能访问mysql但168.x.x.x不能时 mysql>grant all privileges on *.* to root@'%' identified by 'your root password';//没密码可填'' 成功显示query ok mysql>flush p 阅读全文