17 lines
336 B
C#
17 lines
336 B
C#
|
using System.Security.AccessControl;
|
||
|
using System;
|
||
|
using UnityEngine;
|
||
|
using UnityEngine.UI;
|
||
|
using TMPro;
|
||
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
|
||
|
|
||
|
public class SliderValue : MonoBehaviour
|
||
|
{
|
||
|
public GameObject TextOBJ;
|
||
|
|
||
|
public void UpdateText(float val) {
|
||
|
TextOBJ.GetComponent<Text>().text = val.ToString();
|
||
|
}
|
||
|
}
|