跳到主要内容

SContentSizeFitter

Index​

Functions Index​

Function Name
void SetLayoutHorizontal ()
void SetLayoutVertical ()
void RefreshLayout ()

Properties Index​

Property Name
bool Enable get set
SGameObject GameObject get

Functions​

SetLayoutHorizontal​

void SetLayoutHorizontal ()

Function Description

Space.Host.ExecutingObject.ContentSizeFitter.SetLayoutHorizontal()

SetLayoutVertical​

void SetLayoutVertical ()

Function Description

Space.Host.ExecutingObject.ContentSizeFitter.SetLayoutVertical()

RefreshLayout​

void RefreshLayout ()

Function Description

Space.Host.ExecutingObject.ContentSizeFitter.RefreshLayout()

Properties​

Enable​

bool Enable get set

Property Description

Space.Host.ExecutingObject.ContentSizeFitter.Enable = true

GameObject​

SGameObject GameObject get

Property Description

theGameObject = Space.Host.ExecutingObject.ContentSizeFitter.GameObject