Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Tools.MMPSBToUIConverter Class Reference
Inheritance diagram for MoreMountains.Tools.MMPSBToUIConverter:

Public Member Functions

virtual void ConvertToCanvas ()
 

Public Attributes

Canvas TargetCanvas
 
float ScaleFactor = 100f
 
bool ReplicateNesting = false
 
float TargetWidth = 2048
 
float TargetHeight = 1152
 
bool ConvertToCanvasButton
 
Vector3 ChildImageOffset = new Vector3(-1024f, -576f, 0f)
 

Protected Member Functions

virtual void CreateImageForChildren (Transform root, Transform parent)
 Recursively goes through the children of the specified "root" Transform, and parents them to the specified "parent" More...
 
virtual void SetupForStretch (RectTransform rect)
 

Protected Attributes

Transform _topLevel
 
Dictionary< Transform, int > _sortingOrders
 

Member Function Documentation

◆ ConvertToCanvas()

virtual void MoreMountains.Tools.MMPSBToUIConverter.ConvertToCanvas ( )
virtual

◆ CreateImageForChildren()

virtual void MoreMountains.Tools.MMPSBToUIConverter.CreateImageForChildren ( Transform  root,
Transform  parent 
)
protectedvirtual

Recursively goes through the children of the specified "root" Transform, and parents them to the specified "parent"

Parameters
root
parent

◆ SetupForStretch()

virtual void MoreMountains.Tools.MMPSBToUIConverter.SetupForStretch ( RectTransform  rect)
protectedvirtual

Member Data Documentation

◆ _sortingOrders

Dictionary<Transform, int> MoreMountains.Tools.MMPSBToUIConverter._sortingOrders
protected

◆ _topLevel

Transform MoreMountains.Tools.MMPSBToUIConverter._topLevel
protected

◆ ChildImageOffset

Vector3 MoreMountains.Tools.MMPSBToUIConverter.ChildImageOffset = new Vector3(-1024f, -576f, 0f)

◆ ConvertToCanvasButton

bool MoreMountains.Tools.MMPSBToUIConverter.ConvertToCanvasButton

◆ ReplicateNesting

bool MoreMountains.Tools.MMPSBToUIConverter.ReplicateNesting = false

◆ ScaleFactor

float MoreMountains.Tools.MMPSBToUIConverter.ScaleFactor = 100f

◆ TargetCanvas

Canvas MoreMountains.Tools.MMPSBToUIConverter.TargetCanvas

◆ TargetHeight

float MoreMountains.Tools.MMPSBToUIConverter.TargetHeight = 1152

◆ TargetWidth

float MoreMountains.Tools.MMPSBToUIConverter.TargetWidth = 2048

The documentation for this class was generated from the following file: