摘要:
定义成方法:using System.Collections; using System.Collections.Generic; using UnityEngine; public class AudioManger : MonoBehaviour { AudioSource au; public AudioClip[] clip = new AudioClip[3]; ... 阅读全文
摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; public class playcontrol : MonoBehaviour { public KeyCode upkey;//外面去指定键 public KeyCode downkey;//外面去指定键 ... 阅读全文
摘要:
dotween最原始的用法 using System.Collections; using System.Collections.Generic; using UnityEngine; using DG.Tweening; public class DotweenText : MonoBehaviour { public GameObject cube; public Rect... 阅读全文
摘要:
using System.Collections; using System.Collections.Generic; using UnityEngine; public class BuffShoot : MonoBehaviour { public GameObject Bu;//发射的子弹 public Transform tr;//发射子弹的位置 float t... 阅读全文