Editar

Compartilhar via


ChangeSize Class

Definition

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.MonoBehaviour
ChangeSize
Attributes
UnityEngine.AddComponentMenuAttribute

Constructors

ChangeSize()

Methods

Disengage()
Engage()

Applies to