Summary
Allows the user to drag an object with a collider around on screen with the mouse.
- Assembly
- FlexiMotion
.dll - Namespace
- FlexiMotion
.Samples - Base Types
-
- MonoBehaviour
graph BT
Type-->Base0["MonoBehaviour"]
Type["MouseDraggable"]
class Type type-node
Syntax
[AddComponentMenu(FMStrings.SamplesMenuPrefix + "Mouse Draggable")]
[HelpURL(FMStrings.DocsURLs.SamplesAPIDocumentation + "/" + nameof(MouseDraggable))]
public class MouseDraggable : MonoBehaviour
Examples
Attributes
Type | Description |
---|---|
AddComponentMenu | |
HelpURLAttribute |
Methods
Name | Value | Summary |
---|---|---|
Update |
void |
Extension Methods
Name | Value | Summary |
---|---|---|
LogTemp |
T |
Debug.Log(message, context) with an [System.ObsoleteAttribute ] warning so you remember
to remove any calls.
From FMUtilities
|
SafeGetHashCode |
int |
Uses
System.Collections.Generic.EqualityComparer`1.Default to get a hash code.From FMUtilities
|