Click or drag to resize
UtilGetWindowID Method
Returns a window id that is guaranteed to not conflict with another id received from this method. Use this instead of declaring constant ids!

Namespace: spaar.ModLoader
Assembly: SpaarModLoader (in SpaarModLoader.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static int GetWindowID()

Return Value

Type: Int32
The generated window id
Remarks
Do not use this method as an argument to GUI.Window directly! Call this method once and store and re-use the id!
See Also