본문 바로가기

카테고리 없음

Unity3d Billboard

using UnityEngine;

using System.Collections;

 

public class Billboard : MonoBehaviour

{

 // Update is called once per frame

 void LateUpdate () {

  // Billboard

  transform.rotation = Camera.main.transform.rotation;

 }

}

 



출처: https://millers.tistory.com/entry/Unity3d-Billboard?category=573545 [Millers present]