Ejemplo n.º 1
0
    void Awake()
    {
        rb = GetComponent <RigidbodyBox>();

        actor = GetComponentInChildren <Actor>();

        abilController = GetComponent <AbilController>();
    }
Ejemplo n.º 2
0
    //public List<Abil> abils;

    void Start()
    {
        rigidbodyBox = GetComponent <RigidbodyBox>();
        //animator = gfx.GetComponent<Animator>();

        InitHp();

        InitJumpVelocity();

        //初始化动画事件
        animEvent = new UnityEvent();
    }
Ejemplo n.º 3
0
 private void Awake()
 {
     rb = GetComponent <RigidbodyBox>();
 }