Loading...
Searching...
No Matches
PixelCrushers.LoveHate.Wrappers.CanSeeAdvanced Class Reference

This wrapper keeps references intact if you switch between the compiled assembly and source code versions of the original class. More...

Inheritance diagram for PixelCrushers.LoveHate.Wrappers.CanSeeAdvanced:
Collaboration diagram for PixelCrushers.LoveHate.Wrappers.CanSeeAdvanced:

Additional Inherited Members

- Public Member Functions inherited from PixelCrushers.LoveHate.CanSeeAdvanced
virtual bool CanSee (FactionMember actor, Dimension dimension)
 
- Public Attributes inherited from PixelCrushers.LoveHate.CanSeeAdvanced
FieldOfView[] fieldsOfView = new FieldOfView[0]
 The sensor's fields of view (FOVs).
 
float[] extraRaycastHeights = new float[0]
 Extra heights at which to run raycast checks in addition to the target's local origin.
 
LayerMask seeThroughLayer
 
FactionMember factionMember
 
Transform raySource
 
Dimension dimension = Dimension.Is3D
 
bool hasCheckedEver = false
 
Vector3 lastPointChecked
 
string lastPointGizmoName = string.Empty
 
- Static Public Attributes inherited from PixelCrushers.LoveHate.CanSeeAdvanced
static readonly FieldOfView CentralFOV = new FieldOfView(45f, 120f, 20f, new Color(1, 1, 1, 0.3f))
 
static readonly FieldOfView WideFOV = new FieldOfView(120f, 120f, 15f, new Color(1, 1, 1, 0.2f))
 
static readonly FieldOfView PeripheralFOV = new FieldOfView(180f, 120f, 5f, new Color(1, 1, 1, 0.1f))
 
- Protected Member Functions inherited from PixelCrushers.LoveHate.CanSeeAdvanced
virtual void Reset ()
 
virtual void Awake ()
 
virtual void Start ()
 
virtual bool IsInFOVs (Transform target, Dimension dimension)
 
virtual bool IsInLineOfSight (Transform target, Dimension dimension)
 
virtual bool RaycastHitTarget (Transform target, Vector3 rayStart, Vector3 rayEnd, Dimension dimension)
 
bool IsInLayerMask (int layer, LayerMask layerMask)
 
- Protected Attributes inherited from PixelCrushers.LoveHate.CanSeeAdvanced
RaycastHit2D[] hits2D = new RaycastHit2D[MaxHits]
 
- Static Protected Attributes inherited from PixelCrushers.LoveHate.CanSeeAdvanced
const int MaxHits = 20
 

Detailed Description

This wrapper keeps references intact if you switch between the compiled assembly and source code versions of the original class.


The documentation for this class was generated from the following file: