Метод | Описание | |
---|---|---|
CanvasScaler ( ) : System | ||
Handle ( ) : void |
Method that handles calculations of canvas scaling.
|
|
HandleConstantPhysicalSize ( ) : void |
Handles canvas scaling for a constant physical size.
|
|
HandleConstantPixelSize ( ) : void |
Handles canvas scaling for a constant pixel size.
|
|
HandleScaleWithScreenSize ( ) : void |
Handles canvas scaling that scales with the screen size.
|
|
HandleWorldCanvas ( ) : void |
Handles canvas scaling for world canvas.
|
|
OnDisable ( ) : void |
See MonoBehaviour.OnDisable.
|
|
OnEnable ( ) : void | ||
OnValidate ( ) : void | ||
SetReferencePixelsPerUnit ( float referencePixelsPerUnit ) : void |
Sets the referencePixelsPerUnit on the Canvas.
|
|
SetScaleFactor ( float scaleFactor ) : void |
Sets the scale factor on the canvas.
|
|
Update ( ) : void |
Handles per-frame checking if the canvas scaling needs to be updated.
|
protected HandleConstantPhysicalSize ( ) : void | ||
Результат | void |
protected HandleConstantPixelSize ( ) : void | ||
Результат | void |
protected HandleScaleWithScreenSize ( ) : void | ||
Результат | void |
protected SetReferencePixelsPerUnit ( float referencePixelsPerUnit ) : void | ||
referencePixelsPerUnit | float | |
Результат | void |
protected SetScaleFactor ( float scaleFactor ) : void | ||
scaleFactor | float | The scale factor to use. |
Результат | void |