摘要:
这是unity里面的Animator 一共俩个状态一个静止一个攻击,下面是图片 下面是代码挂在人物上即可,自己可以运行打印一下 using System.Collections; using System.Collections.Generic; using UnityEngine; public 阅读全文
摘要:
UGUI精准拖拽 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; [RequireComponent(typeof(RectT 阅读全文
摘要:
ugui 在物体上实时更新位置 本脚本挂在那个地方都行 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class UICollor 阅读全文
摘要:
下面插入代码 本脚本挂在你不想销毁的物体上面 using System.Collections; using System.Collections.Generic; using UnityEngine; public class ExitApp : MonoBehaviour { public st 阅读全文