Helper Scripts Collection 1.3.1
API documentation for the helper scripts compatible with Unity3D
Protected Member Functions | Protected Attributes | List of all members
NikosAssets.Helpers.LookAtTargetMono Class Reference

Looks at the target with clamped euler values (if setup) More...

Protected Member Functions

virtual void Update ()
 

Protected Attributes

Transform target = default
 The target to look at
 
bool keepEulerX
 Ignore this axis angle
 
bool keepEulerY
 
bool keepEulerZ
 
bool alignWithTargetsUp
 Align the look rotation of this transform to the target's local up Vector3
 
Vector3 eulerOffset = default
 Offset the final applied rotation
 

Detailed Description

Looks at the target with clamped euler values (if setup)