Пример #1
0
 private void Move()
 {
     transform.Translate(moveDir * speed * Time.deltaTime, Space.Self);
     node = GridContainer.PositionToNode(transform.localPosition);
 }