コード例 #1
0
    protected override void OnDisableObject(bool bIsQuitApplciation)
    {
        base.OnDisableObject(bIsQuitApplciation);

        if (bIsQuitApplciation)
        {
            return;
        }

        CManagerPooling_Component <Transform> .instance.DoPush(gameObject);

        if (_pSpawnPointOwner != null)
        {
            _pSpawnPointOwner.Event_OnReturnSpawnObject(this);
            _pSpawnPointOwner = null;
        }
    }