/// <summary> /// Updates all GUI elements from the current state values. /// </summary> /// <param name="state">State object to display in the GUI.</param> public void Refresh(GUIElementStateStyle state) { this.state = state; textureField.Value = state.texture; textColorField.Value = state.textColor; }
private static extern void Internal_GetActiveOn(IntPtr nativeInstance, out GUIElementStateStyle value);
private static extern void Internal_SetFocusedOn(IntPtr nativeInstance, ref GUIElementStateStyle value);
private static extern void Internal_SetNormal(IntPtr nativeInstance, ref GUIElementStateStyle value);