// Start is called before the first frame update void Start() { anim = GetComponent <Animator>(); idle = SM.GetComponent <IdleCounter>(); }
// Start is called before the first frame update void Start() { idle = GetComponent <IdleCounter>(); toAdd = 0.0f; InvokeRepeating("addPoints", 0.0f, 1.0f); }