Cursor To World

Merlins Beard . Control . Cursor To World

Serialized Fields

Layer Mask :: Layer Mask
Range :: float

Protected Properties

Hit :: Raycast Hit


Raycast To World ( )

Casts a ray from the Camera through the world position under the mouse cursor. Filters the Raycast according to the Layer Mask.

Execute ( Brain )

Abstract method. The Brain passed in to this method is a reference to the controlled player character.