10 lines
170 B
C#
10 lines
170 B
C#
using UnityEngine;
|
|
|
|
public class PlayerRotate : MonoBehaviour
|
|
{
|
|
public Vector3 LookTarget(Vector3 moveDir)
|
|
{
|
|
return transform.position + moveDir;
|
|
}
|
|
}
|