void Start() { playerFlames = GameObject.FindGameObjectWithTag(TagManager.PLAYER_FLAMES).GetComponent<ParticleSystem>(); moneyManagment = GameObject.FindGameObjectWithTag(TagManager.PLAYER).GetComponent<MoneyManagement>(); beforeBurningMoney = moneyManagment.getCurrentMoney(); }
void Awake() { money = GameObject.FindGameObjectWithTag(TagManager.PLAYER).GetComponent<MoneyManagement>(); beforeMoney = money.getCurrentMoney(); sneaking = true; }