ChangeSize 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.
This script allows for dynamically changing the size of a GameObject when it is looked at. This is for example useful for better legibility of small text.
public ref class ChangeSize : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ChangeSize")]
public class ChangeSize : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ChangeSize")>]
type ChangeSize = class
inherit MonoBehaviour
Public Class ChangeSize
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourChangeSize
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
ChangeSize() |
Methods
Disengage() | |
Engage() |