Learn / Documentation / Script Reference / UIDrawerArrow.Holder
Manual

UIDrawerArrow.Holder

class in Doozy.Engine.UI

Description

The UIDrawerArrow.Holder is a helper class used to manage the UIDrawerArrow positions around the UIDrawerContainer

Properties

  • public Vector3 ClosedLocalPosition – Returns the Closed localPosition

  • public Vector3 OpenedLocalPosition – Returns the Opened localPosition

Public Variables

  • public RectTransform Closed – The position where the arrow should move to if the drawer is set to close and this holder is active

  • public RectTransform Opened – The position where the arrow should move to if the drawer is set to open and this holder is active

  • public RectTransform Root – The RectTransform that is used as the arrow’s parent if this holder is active

Constructors

  • public Holder(RectTransform parent) – Resets this instance to the default values

Public Methods

  • public void Reset(RectTransform parent) – Resets this instance to the default values