void Start() { controller = GetComponent <CharacterController>(); jumping = false; fallen = false; previousGroundedY = transform.position.y; thief = GetComponent <Thief>(); murderer = GetComponent <Murderer>(); cheater = GetComponent <Cheater>(); addict = GetComponent <Addict>(); liar = GetComponent <Liar>(); thief.enabled = false; murderer.enabled = false; cheater.enabled = false; addict.enabled = false; liar.enabled = false; numPowerUps = 0; }
void Start() { controller = GetComponent<CharacterController>(); jumping = false; fallen = false; previousGroundedY = transform.position.y; thief = GetComponent<Thief>(); murderer = GetComponent<Murderer>(); cheater = GetComponent<Cheater>(); addict = GetComponent<Addict>(); liar = GetComponent<Liar>(); thief.enabled = false; murderer.enabled = false; cheater.enabled = false; addict.enabled = false; liar.enabled = false; numPowerUps = 0; }