bool NFCSkillConsumeManagerModule::AfterInit()
{
	for (NF_SHARE_PTR<NFISkillConsumeProcessModule> xModule = First(); xModule != nullptr; xModule = Next())
	{
		xModule->AfterInit();
	}
    return true;
}
示例#2
0
void NFCActor::AddComponent(NF_SHARE_PTR<NFIComponent> pComponent)
{
	mxComponent.AddElement(pComponent->GetComponentName(), pComponent);
	pComponent->SetActor(this);

	pComponent->Awake();
	pComponent->Init();
	pComponent->AfterInit();
	pComponent->ReadyExecute();
}
bool NFCComponentManager::AfterInit()
{
    NF_SHARE_PTR<NFIComponent> pComponent = First();
    while (pComponent)
    {
        pComponent->AfterInit();

        pComponent = Next();
    }

    return true;
}