Exemple #1
0
    public override void OnCutSceneComponentDone(CutSceneComponent cutSceneComponent)
    {
        currentCutSceneComponentIndex++;

        if (currentCutSceneComponentIndex == cutSceneComponents.Count)
        {
            DispatchMessage("OnCutSceneDone", this);
        }
    }
    public virtual void OnCutSceneComponentDone(CutSceneComponent cutSceneComponent)
    {
        currentCutSceneComponentIndex++;

        if (currentCutSceneComponentIndex == cutSceneComponents.Count)
        {
            DispatchMessage("OnCutSceneDone", this);
        }
        else
        {
            OnActivate();
        }
    }