コード例 #1
0
    void PublicAppearanceTick()
    {
        characterNeeds.DecreaseAttentionNeed();
        if (!makingFool)
        {
            politicsManager.IncreasePolitics(PoliticsGainValue());

            if (RollForFoolishness())
            {
                makingFool = true;
                warningSign.SetActive(true);
                GameObject.Find("Main Camera").GetComponent <InteractionSounds>().PlayGasps();
            }
        }
        else
        {
            politicsManager.ReducePublicConfidence(ConfidenceLossValue());
        }
    }
コード例 #2
0
ファイル: Politics.cs プロジェクト: PetterV/Tamagotcha
 void PoliticsTick()
 {
     politicsManager.IncreasePolitics(PoliticsGain(politicsGainBase));
     characterNeeds.attentionNeed = characterNeeds.attentionNeed + attentionNeedGain;
 }