NGUI: Next-Gen UI kit  3.7.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros
LookAtTarget Class Reference

Attaching this script to an object will make that object face the specified target. The most ideal use for this script is to attach it to the camera and make the camera look at its target. More...

Inheritance diagram for LookAtTarget:

Public Attributes

int level = 0
 
Transform target
 
float speed = 8f
 

Detailed Description

Attaching this script to an object will make that object face the specified target. The most ideal use for this script is to attach it to the camera and make the camera look at its target.

Member Data Documentation

int LookAtTarget.level = 0
float LookAtTarget.speed = 8f
Transform LookAtTarget.target

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