10 lines
218 B
C#
10 lines
218 B
C#
using UnityEngine;
|
|
|
|
public class BillboardUI : MonoBehaviour
|
|
{
|
|
void LateUpdate()
|
|
{
|
|
// UI가 메인 카메라의 방향을 그대로 바라보게 합니다.
|
|
transform.forward = Camera.main.transform.forward;
|
|
}
|
|
} |