Ejemplo n.º 1
0
    public override void ChildInit()
    {
        m_WeaponTrailObj = GameObject.FindGameObjectWithTag("WeaponTrail");
        m_RevivalPos     = GameObject.FindGameObjectWithTag("Revival").transform;

        m_DieGrey = FindObjectOfType <GreyEffectShader>();

        m_joyStickMove     = FindObjectOfType <JoyStickMove>();
        m_joyStickAttack   = FindObjectOfType <JoyStickAttack>();
        m_joyStickRotate   = FindObjectOfType <JoyStickRotate>();
        m_InstallEquipment = FindObjectOfType <InstallEquipment>();

        m_PlayerAbility.Init();
        m_Bodybounds.center = m_Pivot.transform.position;

        JobInit();
    }