any ideas ?
You can use Unity’s UI Extension methods to make them work as you want.
Watch this demo of Unity's UI Extensions. You probably need exact one of these.You can download them here.
https://bitbucket.org/UnityUIExtensions/unity-ui-extensions
Hope it helps.
I found solution with myself I added + ve - symbols and I blocked slider controls from user in the red area is all available points and if it’s reaches the 10 in the blue area slider reaches the max limit (default limit is 10) and player can only reduces the value
public void special()
{
stlefttxt.text = strength.value.ToString()+" Points";
prlefttxt.text = perception.value.ToString() + " Points";
endulefttxt.text = endurance.value.ToString() + " Points";
chrslefttxt.text = charisma.value.ToString() + " Points";
intellefttxt.text = intelligence.value.ToString() + " Points";
agilefttxt.text = agility.value.ToString() + " Points";
lcklefttxt.text= luck.value.ToString() + " Points";
var a = points.value = strength.value+perception.value+endurance.value+intelligence.value+agility.value+luck.value+charisma.value;
if (points.value==10)
{
errorfeedback.text = "limit";
strength.maxValue = strength.value;
perception.maxValue = perception.value;
endurance.maxValue = endurance.value;
charisma.maxValue = charisma.value;
intelligence.maxValue = intelligence.value;
agility.maxValue = agility.value;
luck.maxValue = luck.value;
}
else
{
strength.maxValue = 10;
perception.maxValue = 10;
endurance.maxValue = 10;
charisma.maxValue = 10;
intelligence.maxValue= 10;
agility.maxValue = 10;
luck.maxValue = 10;
}
pointslefttxt.text=a + " Points";
}