Esempio n. 1
0
    protected override void PrepareForAction()
    {
        PlayerAgent npcComponent = null;

        base.PrepareForAction();
        if (stageComponent != null)
        {
            npcComponent = stageComponent.CreateNonPlayableCharacter(npcModel, placementNodeID, offsetWithinNode, sideToFace, isEnemy);
            npcCreated   = (npcComponent != null);
        }
    }