C# Class ZStack, swip3

Handles the vertical ordering of objects in a stack way to allow picked up objects to be lifted above other picked up object.
Inheritance: MonoBehaviour
显示文件 Open project: unit9/swip3 Class Usage Examples

Public Methods

Method Description
GetNewZ ( Transform t, float minimum = 0f ) : float
GetNextZ ( Transform t, float minimum ) : float
RemoveZ ( Transform t ) : void

Method Details

GetNewZ() public method

public GetNewZ ( Transform t, float minimum = 0f ) : float
t Transform
minimum float
return float

GetNextZ() public method

public GetNextZ ( Transform t, float minimum ) : float
t Transform
minimum float
return float

RemoveZ() public method

public RemoveZ ( Transform t ) : void
t Transform
return void