架构大更
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using UnityEngine;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UI;
|
||||
using TMPro;
|
||||
|
||||
namespace Michsky.MUIP
|
||||
{
|
||||
@@ -11,7 +11,7 @@ namespace Michsky.MUIP
|
||||
public string numberFormat;
|
||||
|
||||
public float realValue;
|
||||
private bool assignedRealValue = false;
|
||||
private bool assignedRealValue;
|
||||
|
||||
protected override void Start()
|
||||
{
|
||||
@@ -31,9 +31,11 @@ namespace Michsky.MUIP
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
realValue = maxValue - input + minValue;
|
||||
}
|
||||
|
||||
if (wholeNumbers == true)
|
||||
if (wholeNumbers)
|
||||
realValue = Mathf.Round(realValue);
|
||||
|
||||
if (realValue <= minSlider.value)
|
||||
|
||||
Reference in New Issue
Block a user