Raycast

Raycast(Ray, ref Vector2)

public bool Raycast(Ray ray, ref Vector2 localPos) ;

Description

Raies to local point.

Parameters

Parameter Name Description
ray Ray.
localPos Local position.

Returns

Returns true if there is a cell at the hit position.