예제 #1
0
 void Start()
 {
     poopHealth                  = startingPoopHealth;
     cursor                      = WorldMethods.GetCursor();
     startScale                  = transform.localScale;
     politicsManager             = WorldMethods.GetPoliticsManager();
     politicsManager.numOfPoops += 1;
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     characterNeeds  = character.GetComponent <CharacterNeeds>();
     gameController  = WorldMethods.GetGameController();
     politicsManager = WorldMethods.GetPoliticsManager();
     warningSign     = transform.Find("WarningSign").gameObject;
     warningSign.SetActive(false);
 }
예제 #3
0
 void Start()
 {
     gameController  = WorldMethods.GetGameController();
     characterSpeech = gameObject.GetComponent <CharacterSpeech>();
     cursor          = WorldMethods.GetCursor();
     politicsManager = WorldMethods.GetPoliticsManager();
     rb = gameObject.GetComponent <Rigidbody>();
     interactionSounds = GameObject.Find("Main Camera").GetComponent <InteractionSounds>();
 }
예제 #4
0
    public static PoliticsManager GetPoliticsManager()
    {
        PoliticsManager politicsManager = GameObject.Find("PoliticsManager").GetComponent <PoliticsManager>();

        return(politicsManager);
    }
예제 #5
0
 // Start is called before the first frame update
 void Start()
 {
     characterNeeds  = character.GetComponent <CharacterNeeds>();
     gameController  = WorldMethods.GetGameController();
     politicsManager = WorldMethods.GetPoliticsManager();
 }