- 博客(4)
- 资源 (4)
- 收藏
- 关注
原创 动画系统
using System.Collections;using System.Collections.Generic;using UnityEngine;public class CubeAnimation : MonoBehaviour{private Animator animator;//Animator.StringToHash(""); 字符串输入动画判断条件的变量名字private int isPlayID = Animator.StringToHash("bisplay")
2020-12-28 10:54:13 138
原创 Xml创建
using System.IO; using System.Xml;//两个引用 public void XmlCreat() { string filepath = Application.dataPath+"/Xmls/myxmi.xml";//创建路径 if (!File.Exists (filepath))//判断文件是否存在 { XmlDocument xmlDoc = new XmlDocument();//创建xml对象
2020-12-09 11:38:41 223
原创 小地图另一种制作方法(需计算)
using System.Collections;using System.Collections.Generic;using UnityEngine;public class myMove : MonoBehaviour{[SerializeField ]private RectTransform imgmap; //小地图中可视的目标(小红点/小绿点)void Start(){ }void Update(){ OnMove(); floa.
2020-12-02 16:00:29 309 1
原创 unity 小地图源码(无需计算)
using System.Collections; using System.Collections.Generic; using UnityEngine; public class map_smaller : MonoBehaviour{public RectTransform mapBackground;//小地图图片public RectTransform img_main;//要移动的小目标public Transform target01;//地图左上public Trans.
2020-12-02 14:54:24 226
Unity3DTraining-master.zip
2021-12-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人