-
Notifications
You must be signed in to change notification settings - Fork 1
Ray bindings
SDraw edited this page Jun 14, 2023
·
2 revisions
Refer to Unity's Ray documentation for properties and methods description.
object Ray(Vector3 origin = Vector3.zero, Vector3 direction = Vector3.zero)
-
direction
: get/set, Vector3 -
origin
: get/set, Vector3
float GetPoint(float distance)
-
bool IsRay(object obj)
: checks if object is type ofRay
.