TopDown Engine v4.3
AIDecisionDetectTargetLine2D.cs File Reference

Classes

class  MoreMountains.TopDownEngine.AIDecisionDetectTargetLine2D
 This Decision will return true if any object on its TargetLayer layermask enters its line of sight. It will also set the Brain's Target to that object. You can choose to have it in ray mode, in which case its line of sight will be an actual line (a raycast), or have it be wider (in which case it'll use a spherecast). You can also specify an offset for the ray's origin, and an obstacle layer mask that will block it. More...
 

Namespaces

namespace  MoreMountains
 
namespace  MoreMountains.TopDownEngine