JumpToMouseComponent
Declaration
public class Strawberry.Components.Movement.JumpToMouseComponent
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
OnComponentAdded override
void OnComponentAdded(BaseComponent component)
Parameters:
| Name | Type | Description |
|---|---|---|
component |
Strawberry.Core.BaseComponent |
OnUpdate override
void OnUpdate()