using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class SimpleBillboard : MonoBehaviour { private void Start() { StartCoroutine(LookAtCamera()); IEnumerator LookAtCamera() { if (Camera.main == null) yield break; Transform targ = Camera.main.transform; while (true) { transform.LookAt(targ); yield return null; } } } }