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

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

    #region Protected

    /* protected - [abstract & virtual]         */

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

    /* protected - Override & Unity API         */

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

        _pStat.DoInit(gameObject);

        _pManagerStat = CManagerStat.instance;
    }
예제 #2
0
    /* private - Field declaration           */

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

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

    public void DoInitStat(SStat pStat)
    {
        _pStat = pStat;
        _pStat.DoInit(gameObject);
    }