KudanAR - Unity
FlyBehaviour_TargetTransform Class Reference
Inheritance diagram for FlyBehaviour_TargetTransform:

Public Attributes

float minThresh = 100f
 
float maxThresh = 500f
 
float moveThresh = 10f
 
float moveStep = 1.5f
 
float maxMove = 20f
 
GameObject brother
 

Detailed Description

Member Data Documentation

◆ brother

GameObject FlyBehaviour_TargetTransform.brother

Reference to the GameObject that this object must move around.

◆ maxMove

float FlyBehaviour_TargetTransform.maxMove = 20f

The maximum distance each component of the target point can be away from this object.

◆ maxThresh

float FlyBehaviour_TargetTransform.maxThresh = 500f

The maximum distance this object can be from its brother.

◆ minThresh

float FlyBehaviour_TargetTransform.minThresh = 100f

The minimum distance the this object must be from its brother.

◆ moveStep

float FlyBehaviour_TargetTransform.moveStep = 1.5f

The amount that this object moves each frame.

◆ moveThresh

float FlyBehaviour_TargetTransform.moveThresh = 10f

If the distance between this object and its target point is less than this threshold, it is considered to have reached its target.


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