MouseButtonExtensions

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public static class MouseButtonExtensions

Summary

Extension methods for MouseButton enum

Metadata

Namespace: GridPlacement.Core.Types

Source File: cs/Core/Types/MouseButton.cs

Assembly: GridPlacement.Core

Type: class

Methods

IsPrimaryButton

1
public static bool IsPrimaryButton(this MouseButton button)

Returns true if this is a primary action button


IsSecondaryButton

1
public static bool IsSecondaryButton(this MouseButton button)

Returns true if this is a secondary action button


IsScrollWheel

1
public static bool IsScrollWheel(this MouseButton button)

Returns true if this is a scroll wheel button


IsExtraButton

1
public static bool IsExtraButton(this MouseButton button)

Returns true if this is an extra button