Ctrl+K

MoveToMouseComponent

Declaration

public class Strawberry.Components.MoveToMouseComponent

A simple component that jumps the owner to the mouse position

Inherits: Strawberry.Core.BaseComponent

Properties

Transform

Gets the transform of the owner

TransformComponent Transform { get }

Methods

OnUpdate override

void OnUpdate()