- 博客(9)
- 资源 (2)
- 收藏
- 关注
![](https://csdnimg.cn/release/blogv2/dist/pc/img/listFixedTop.png)
原创 C#图片笔记(全)
目录 1界面 2、进制 运算 3、常量 4、变量 5、IF分支,赋值号,运算符,类型转换 6、if,switch的应用 7、随机数、体重练习题、逻辑分析图 8、循环、字符、图形打印、goto跳转 9、数组 10、方法、参数 11、ref、out、传递 12、面向对象 13、继承 14、多态 15、排序数组、接口 16、字符串的常用方法 17、工具类、数集 18、文件操作 19、反射、进程及线程
2021-01-22 11:58:12
145
原创 unity 控制上下左右移动代码,记录初次点击位置
public class InputHelper { public TouchOperation OnTouchDown; public TouchOperation OnTouchMove; public TouchOperation OnTouchUp; public TouchOperation OnClick; public long TouchDownTime; public long TouchUpTime; [HideInInspector] public .
2021-07-13 17:40:09
688
1
原创 基于ugui的eventsystem判断是否有ui遮挡
/// <summary> /// 基于ugui的eventsystem判断是否有ui遮挡 /// </summary> /// <returns></returns> private bool CheckGuiRaycastObjects() { PointerEventData eventData = new PointerEventData(EventSystem.current); ...
2021-07-13 15:14:38
351
原创 Unity EasyMassageSystem
EventManager using System.Collections; using System.Collections.Generic; using UnityEngine; using System; namespace EasyMassageSystem { public class EventManager { public static EventManager Instance; private static Dictionary<
2021-07-07 19:46:39
112
1
原创 Html试玩发布模板
<!DOCTYPE html> <html> <head> <meta charset='utf-8' /> <title>$game_name$</title> <meta name='viewport' content='width=device-width,initial-scale=1.0,min...
2020-03-27 16:42:59
348
原创 LayaBox--键值类
/** * 键值对 */ module game.util { export class Dictionary<T>{ private _strongType: T; //要求存储对象为强类型 private _container: Object; public get container(): Object { return this._container;...
2019-09-02 15:24:43
486
原创 LayaBox--事件分发器
/** * 事件分发器 */ namespace game.common { export class EventManager extends Laya.EventDispatcher { private static _ins: EventManager; public static get ins(): EventManager { if (!EventManager._...
2019-08-28 11:29:32
446
原创 LayaBox--功能记录
1.添加监听事件 public open(): void { Laya.timer.frameLoop(1, this, this.update); this.ui.stage.on(Laya.Event.CLICK, this, this.stageClick); this.ui.stage.on(Laya.Event.MOUSE_DOWN,...
2019-08-28 09:54:42
446
原创 LayaBox--MathUtil
namespace game.util{ /* * name; */ export class MathUtil{ constructor(){ } /** * 随机产生一个范围的值 * @param min 最小值 * @param max 最大值 ...
2019-08-28 09:46:06
492
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人