25 lines
469 B
C#
25 lines
469 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class ShowPosText : MonoBehaviour
|
|
{
|
|
public Text camVec;
|
|
public Text RenCamVec;
|
|
|
|
public Transform cam;
|
|
public Transform renCam;
|
|
|
|
void Start()
|
|
{
|
|
|
|
}
|
|
|
|
void Update()
|
|
{
|
|
camVec.text = string.Format("VioCameraVec{0}",cam.position);
|
|
RenCamVec.text = string.Format("RenCamVec{0}", renCam.position);
|
|
}
|
|
}
|