Class SimpleSprite
Very simple class to rotate sprites to face the camera.
Namespace: Microsoft.MixedReality.WorldLocking.Tools
Assembly: cs.temp.dll.dll
Syntax
public class SimpleSprite : MonoBehaviour
Properties
Swivel
Swivel means rotate about Y-axis, set to false to face directly at target.
Declaration
public bool Swivel { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Target
Object to face towards. Defaults to camera at time Start is called.
Declaration
public Transform Target { get; set; }
Property Value
Type | Description |
---|---|
Transform |