Example #1
0
    protected override void OnAwake()
    {
        base.OnAwake();

        _pOwnerPopup = GetComponentInParent <Popup_Inventory>();
        _mapEquipSlot.DoAddItem(_mapInventorySlot.Values);
    }
    // ========================================================================== //

    /* public - [Do] Function
     * 외부 객체가 호출(For External class call)*/

    /* public - [Event] Function
     * 프랜드 객체가 호출(For Friend class call)*/

    #endregion Public

    // ========================================================================== //

    #region Protected
    /* protected - [abstract & virtual]         */

    /* protected - [Event] Function
     * 자식 객체가 호출(For Child class call)		*/

    /* protected - Override & Unity API         */

    protected override void OnAwake()
    {
        base.OnAwake();

        _pGoImage_Icon     = this.GetGameObject(EImage.Image_Icon);
        _pGoImage_Selected = this.GetGameObject(EImage.Image_Selected);
        _pGoImage_Equip    = this.GetGameObject(EImage.Image_Equip);
        _pGoImage_New      = this.GetGameObject(EImage.Image_New);

        _pPopupOwner = GetComponentInParent <Popup_Inventory>();
    }
Example #3
0
    protected override void OnAwake()
    {
        base.OnAwake();

        _pOwnerPopup = GetComponentInParent <Popup_Inventory>();
    }