unity game object look at code example Example: unity look at target transform.LookAt(target.transform.position);