// Update is called once per frame void Update() { //Check range of player from charge point IF NEAR CHARGE! if (Vector3.Distance(Player.transform.position, this.transform.position) < ChargingRange) { m_light.ChargeLight(ChargingRate * Time.deltaTime); } }