static public int get_scaleMode(IntPtr l) { try { UnityEngine.Experimental.UIElements.Image self = (UnityEngine.Experimental.UIElements.Image)checkSelf(l); pushValue(l, true); pushEnum(l, (int)self.scaleMode); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int constructor(IntPtr l) { try { UnityEngine.Experimental.UIElements.Image o; o = new UnityEngine.Experimental.UIElements.Image(); pushValue(l, true); pushValue(l, o); return(2); } catch (Exception e) { return(error(l, e)); } }
static public int set_scaleMode(IntPtr l) { try { UnityEngine.Experimental.UIElements.Image self = (UnityEngine.Experimental.UIElements.Image)checkSelf(l); UnityEngine.ScaleMode v; checkEnum(l, 2, out v); self.scaleMode = v; pushValue(l, true); return(1); } catch (Exception e) { return(error(l, e)); } }
// Start is called before the first frame update void Start() { BarImage = GetComponent <Image>(); }