Third request for making tasks! (maybe I should have picked a better thread title)
An attribute to allow us to set a friendly name for a variable in the node view, i.e. instead of ‘scaleZoom’ (variable), it would display ‘Scale (Zoom)’
[Text("Scale (Zoom)", SliderField(0.01f, 2)] public float scaleZoom = 1f;
Basically, the Name attribute that’s already applied to the class name, but for variables.
And lastly…. Have the SliderField accept ints in addition to floats would be good! I very lazily copy/pasted and edited a bit to make an IntSliderField, not exactly refined or anything, I just wanted it quickly working, but I think that’d be a good addition to the base NodeCanvas
Login
Register
By registering on this website you agree to our Privacy Policy.