Class AIUtility
Inherited Members
Component.GetComponentInChildren<T>()
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DestroyObject(Object)
Namespace: LobsterFramework.AI
Assembly: LobsterFramework.dll
Syntax
public class AIUtility : MonoBehaviour
Properties
| Improve this Doc View SourceNoCollisionLayer
Declaration
public static int NoCollisionLayer { get; }
Property Value
Type | Description |
---|---|
int |
VisibilityMask
Declaration
public static LayerMask VisibilityMask { get; }
Property Value
Type | Description |
---|---|
LayerMask |
Methods
| Improve this Doc View SourceRaycast2D(GameObject, Vector3, Vector2, float, LayerMask)
Declaration
public static RaycastHit2D Raycast2D(GameObject caster, Vector3 position, Vector2 direction, float range, LayerMask layerMask)
Parameters
Type | Name | Description |
---|---|---|
GameObject | caster | |
Vector3 | position | |
Vector2 | direction | |
float | range | |
LayerMask | layerMask |
Returns
Type | Description |
---|---|
RaycastHit2D |