Question by
Wesley21spelde · Jan 19, 2021 at 01:03 PM ·
cameratagnamefacing
UIText Always Face My Camera ...PhotonNetworking
hey i have a question i am making a multi player game with photonNetworking
but i dont know how to get the player UIText to face always me at my client
and for someone else in their client all UIText from other players have to face them
i tried a look at camera but sinds everyove hase its own camera it wont work
is thare a way of doing this so that basicly all UIText is always facing the client you have
i normaly use this...
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BilBord_Face_Camera : MonoBehaviour
{
public Transform camTransform;
void Update()
{
transform.rotation = camTransform.rotation;
}
}
Comment