Ejemplo n.º 1
0
    void AddToCount(CardLogic.Personality personality)
    {
        switch (personality)
        {
        case CardLogic.Personality.niceGuy:
            manager.blockCount += 1;
            break;

        case CardLogic.Personality.actualNiceGuy:
            manager.niceGuy += 1;
            break;

        case CardLogic.Personality.oneLiners:
            manager.blockCount += 1;
            break;

        case CardLogic.Personality.troll:
            manager.blockCount += 1;
            break;

        case CardLogic.Personality.douche:
            manager.blockCount += 1;
            break;
        }
    }
Ejemplo n.º 2
0
    public void SetStoryAndGetPersonality(TextAsset inkStory, CardLogic.Personality personality)
    {
        inkJSONAsset = null;
        inkJSONAsset = inkStory;

        currentPersonality = personality;
    }