編輯

共用方式為


ButtonSizeOffset Class

Definition

Scales an object relative the scale of the AnchorTransform

public ref class ButtonSizeOffset : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ButtonSizeOffset")]
[UnityEngine.ExecuteInEditMode]
public class ButtonSizeOffset : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/SDK/ButtonSizeOffset")>]
[<UnityEngine.ExecuteInEditMode>]
type ButtonSizeOffset = class
    inherit MonoBehaviour
Public Class ButtonSizeOffset
Inherits MonoBehaviour
Inheritance
UnityEngine.MonoBehaviour
ButtonSizeOffset
Attributes
UnityEngine.AddComponentMenuAttribute UnityEngine.ExecuteInEditModeAttribute

Constructors

ButtonSizeOffset()

Fields

AnchorTransform
BasePixelScale
Offset
OnlyInEditMode
Scale

Applies to