- Home /
Question by
Sinperhezine · Feb 25, 2014 at 05:21 PM ·
uialpha channelhealth bar
Alpha Gradient UI
I'm trying to setup an Alpha Gradient base health bar but i can't seem to get the bar to move. this is the code i'm using to test.
renderer.material.SetFloat("_Cutoff", Mathf.InverseLerp(0, Screen.width, Input.mousePosition.x));
Comment
Your answer