FMGUI Class

Summary

[Editor-Only] GUI utilities used throughout FlexiMotion.FlexiMotionComponent.
Assembly
FlexiMotion.dll
Namespace
FlexiMotion.Editor
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["FMGUI"] class Type type-node

Syntax

public class FMGUI

Remarks

This class doesn't need to be Editor-Only, but it's not currently used for anything at runtime.

Methods

Name Value Summary
Deselect() void
Deselects any selected IMGUI control.
static
TryUseClickEvent(Rect, int) bool
Returns true and uses the current event if it is UnityEngine.EventType.MouseUp inside the specified `area`.
static
TryUseClickEventInLastRect(int) bool
Returns true and uses the current event if it is UnityEngine.EventType.MouseUp inside the last GUI Layout UnityEngine.Rect that was drawn.
static

Extension Methods

Name Value Summary
LogTemp<FMGUI>(Object) T
Debug.Log(message, context) with an [System.ObsoleteAttribute] warning so you remember to remove any calls.
SafeGetHashCode<FMGUI>() int
Uses System.Collections.Generic.EqualityComparer`1.Default to get a hash code.