摘要:
客户端 阅读全文
摘要:
using UnityEngine; using System.Collections; public class CameraController : MonoBehaviour { public float distance_v; public float distance_h; public float rotation_H_speed=1; public ... 阅读全文
摘要:
//在玩家身上挂载using UnityEngine; using System.Collections; public class move_controll : MonoBehaviour { Transform m_transform,m_camera;//人物自己以及相机的对象 Charac 阅读全文
摘要:
//对于单个敌人的伤害脚本 Animator _animator; Transform _enemy; // Use this for initialization void Start () { _animator = GetComponent<Animator>(); //获得动画组件 _ene 阅读全文
摘要:
using UnityEngine;using System.Collections; public class DrawStar : MonoBehaviour { public Material _mat; public Color _starColor; const float minDist 阅读全文
摘要:
using UnityEngine;using System.Collections; public class MySoliderMove : MonoBehaviour{ Transform _head; Transform _gun; public float workTime; float 阅读全文
摘要:
using UnityEngine;using System.Collections; public class MySoliderMove : MonoBehaviour{ Transform _head; Transform _gun; // Use this for initializatio 阅读全文
摘要:
using UnityEngine;using System.Collections; public class PlayerMove : MonoBehaviour { Transform _head; Animator _animator; void Start () { _head = tra 阅读全文
摘要:
一、校验数字的表达式数字:^[0-9]*$n位的数字:^d{n}$至少n位的数字:^d{n,}$m-n位的数字:^d{m,n}$零和非零开头的数字:^(0|[1-9][0-9]*)$非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(.[0-9]{1,2})?$带1-2位小数的正数或负数 阅读全文
摘要:
using UnityEngine;using System.Collections; public class Ctrl : MonoBehaviour { Animator an; // Use this for initialization void Start () { an = GetCo 阅读全文