void Start() { poopHealth = startingPoopHealth; cursor = WorldMethods.GetCursor(); startScale = transform.localScale; politicsManager = WorldMethods.GetPoliticsManager(); politicsManager.numOfPoops += 1; }
// 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); }
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>(); }
public static PoliticsManager GetPoliticsManager() { PoliticsManager politicsManager = GameObject.Find("PoliticsManager").GetComponent <PoliticsManager>(); return(politicsManager); }
// Start is called before the first frame update void Start() { characterNeeds = character.GetComponent <CharacterNeeds>(); gameController = WorldMethods.GetGameController(); politicsManager = WorldMethods.GetPoliticsManager(); }