Skip to Main Content

BTD_Mod_Helper​.Api​.Components​.MatchAnchoredPosition


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Components

MatchAnchoredPosition Class

Component to make this transform continuously match the position of another transform

public class MatchAnchoredPosition

Inheritance UnityEngine.MonoBehaviour  MatchAnchoredPosition

Fields

MatchAnchoredPosition.offset Field

Offset from the transform to stay

public Vector2 offset;

Field Value

UnityEngine.Vector2

MatchAnchoredPosition.scale Field

Scale for the original anchored position

public Vector2 scale;

Field Value

UnityEngine.Vector2

MatchAnchoredPosition.transformToCopy Field

Other transform to constantly copy the scale from

public RectTransform transformToCopy;

Field Value

UnityEngine.RectTransform