// Update is called once per frame void Update() { //onNewPos.Invoke(currentPos); logger.AddPosition(currentTrans.position, name); }