SimpleSprite Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Very simple class to rotate sprites to face the camera.
public class SimpleSprite : UnityEngine.MonoBehaviour
type SimpleSprite = class
inherit MonoBehaviour
Public Class SimpleSprite
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourSimpleSprite
Constructors
SimpleSprite() |
Properties
Swivel |
Swivel means rotate about Y-axis, set to false to face directly at target. |
Target |
Object to face towards. Defaults to camera at time Start is called. |