MouseDraggable Class

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

Puppet

Attributes

Type Description
AddComponentMenu
HelpURLAttribute

Methods

Name Value Summary
Update() void

Extension Methods

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