void Awake() { rb = GetComponent <RigidbodyBox>(); actor = GetComponentInChildren <Actor>(); abilController = GetComponent <AbilController>(); }
//public List<Abil> abils; void Start() { rigidbodyBox = GetComponent <RigidbodyBox>(); //animator = gfx.GetComponent<Animator>(); InitHp(); InitJumpVelocity(); //初始化动画事件 animEvent = new UnityEvent(); }
private void Awake() { rb = GetComponent <RigidbodyBox>(); }