Свойство | Тип | Описание | |
---|---|---|---|
customResolution | bool | ||
fixOrthographicSize | bool | ||
height | int | ||
orthographicSize | float | ||
width | int |
Свойство | Тип | Описание | |
---|---|---|---|
lastFieldOfView | float | ||
lastOrthographic | bool | ||
lastOrthographicSize | float | ||
lastScreenHeight | int | ||
lastScreenWidth | int |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
CalculatePixelPerfectScale ( exSpriteBase, _sprite, Vector3 _toSprite ) : void | ||
CalculateScaleAndRatio ( ) : void | ||
OnPreRender ( ) : void |
public CalculatePixelPerfectScale ( exSpriteBase, _sprite, Vector3 _toSprite ) : void | ||
_sprite | exSpriteBase, | |
_toSprite | Vector3 | |
Результат | void |