
简单测试
dzqdskxhy
此人很懒,什么都没有写 *^_^* ... ...
展开
-
card版本二
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; /// <summary> /// 开心类型 /// </summary> public enum HappyType { Bull, Worker, Boss, } /// <summary> /// 卡片分类 /// </summary原创 2020-09-01 20:37:12 · 269 阅读 · 0 评论 -
环测试
环测试 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class Ring : MonoBehaviour { /// <summary> /// 显示的对象的用于生产拷贝的元 /// </summary> public GameObject textGameObj; ///原创 2020-07-27 14:49:03 · 195 阅读 · 0 评论 -
广度测试
测试—具象化 //节点 using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; public class Node<T> { public readonly T data; private List<Node<T>> connect_node = new List<Node<T>>();原创 2020-07-18 10:15:14 · 326 阅读 · 0 评论 -
C# 组合 一个数组 的 任意个数个数据(在数组范围内) 的所有组合方式 输出显示
using System; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Test { class Program { static void Main(string[] args) { int[] nums = new i原创 2020-07-14 16:27:51 · 763 阅读 · 0 评论 -
简单UI管理器测试(文章来源于网络)
简单测试待改进 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.Events; public class UIManager { /// <summary> /// 单例 /// </summary> private static UIMan原创 2020-05-29 08:19:57 · 169 阅读 · 0 评论 -
FSM简单状态机测试
using System.Collections; using System.Collections.Generic; using UnityEngine; public class State { /// /// 状态名字 只读 唯一标志 /// public readonly string name; public State(string name) { this.name = name; onStateEnter += () => { Debug.Log("进入了 状态 :原创 2020-05-27 10:44:50 · 687 阅读 · 0 评论 -
简单测试广度遍历获取最短路径貌似时间复杂度挺高消耗挺大
using System.Collections; using System.Collections.Generic; using UnityEngine; public class TestBianli : MonoBehaviour { /* private void Start() { List<Transform> transforms = new List<Transform>(); List<Transform> all = new List&原创 2020-05-27 10:40:23 · 290 阅读 · 0 评论