C# Class UnityEngine.DrivenRectTransformTracker

A component can be designed drive a RectTransform. The DrivenRectTransformTracker struct is used to specify which RectTransforms it is driving.

ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Add ( UnityEngine driver, RectTransform rectTransform, DrivenTransformProperties drivenProperties ) : void

Add a RectTransform to be driven.

Clear ( ) : void

Clear the list of RectTransforms being driven.

Private Methods

Method Description
CanRecordModifications ( ) : bool

Method Details

Add() public method

Add a RectTransform to be driven.

public Add ( UnityEngine driver, RectTransform rectTransform, DrivenTransformProperties drivenProperties ) : void
driver UnityEngine The object to drive properties.
rectTransform RectTransform The RectTransform to be driven.
drivenProperties DrivenTransformProperties The properties to be driven.
return void

Clear() public method

Clear the list of RectTransforms being driven.

public Clear ( ) : void
return void