The slider UI was working the other day, today it isnt… No errors, and restarted Unity. I recently updated to unity 2019.2.6f1, I tested this on other versions and it works but not on my current project. Unity bug?
public class SoundManager : MonoBehaviour
{
private static SoundManager instance;
public static SoundManager MyInstance
{
get
{
if (instance == null)
{
return FindObjectOfType<SoundManager>();
}
return instance;
}
}
public void Test(float value)
{
Debug.Log(value);
}
}