C# Class PersonSight, SOFTENG-306-PROJECT-2

Inheritance: MonoBehaviour
Afficher le fichier Open project: gdsl/SOFTENG-306-PROJECT-2 Class Usage Examples

Méthodes publiques

Свойство Type Description
checkVision bool
fieldOfViewAngle float
santaInSight bool

Méthodes publiques

Méthode Description
Awake ( ) : void
GetRayPos1 ( ) : Vector3
GetRayPos2 ( ) : Vector3
OnTriggerExit ( Collider other ) : void
OnTriggerStay ( Collider other ) : void
Update ( ) : void

Private Methods

Méthode Description
PersonSeen ( ) : IEnumerator

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

GetRayPos1() public méthode

public GetRayPos1 ( ) : Vector3
Résultat Vector3

GetRayPos2() public méthode

public GetRayPos2 ( ) : Vector3
Résultat Vector3

OnTriggerExit() public méthode

public OnTriggerExit ( Collider other ) : void
other Collider
Résultat void

OnTriggerStay() public méthode

public OnTriggerStay ( Collider other ) : void
other Collider
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

checkVision public_oe property

public bool checkVision
Résultat bool

fieldOfViewAngle public_oe property

public float fieldOfViewAngle
Résultat float

santaInSight public_oe property

public bool santaInSight
Résultat bool