Select Git revision
CheckServer.cs
-
Stefan Richter authored
Increased saved IPslots and its UI from 3 to 5. New Configfile entries with Subdomains. Updated Streamingassets folder and OS will only be checked once.
Stefan Richter authoredIncreased saved IPslots and its UI from 3 to 5. New Configfile entries with Subdomains. Updated Streamingassets folder and OS will only be checked once.
AlignText.cs 550 B
using UnityEngine;
public class AlignText : MonoBehaviour
{
// Start is called before the first frame update
public Camera Cam;
void Start()
{
Cam = Camera.main;
}
// Update is called once per frame
void Update()
{
transform.forward = Cam.transform.forward;
//Not yet the perfect solution
//Problem is the relative rotation of the TextMesh to the Line-Parent
//transform.rotation = Quaternion.Lerp(transform.parent.transform.rotation, Cam.transform.rotation, 0);
}
}