C# Class CommonInspectorMethods, Zombayo

显示文件 Open project: pchernev/Zombayo

Public Methods

Method Description
drawAnimPopup ( string label, int &index, string names, string &animationName ) : void
drawAnimationDescriptions ( Editor editor, AnimatorUtils, animUtils ) : void
drawLevels ( Editor editor, int levels ) : void
drawPriceInfo ( Editor editor, int prices, UpgradeLevel, type ) : void
drawUpgradeInfoFloat ( Editor editor, string caption, float &value ) : void
drawUpgradeInfoInt ( Editor editor, string caption, int &value ) : void
drawUpgradeSpecs ( Editor editor, UpgradeLevel, specs, int prices = null ) : void

Method Details

drawAnimPopup() public static method

public static drawAnimPopup ( string label, int &index, string names, string &animationName ) : void
label string
index int
names string
animationName string
return void

drawAnimationDescriptions() public static method

public static drawAnimationDescriptions ( Editor editor, AnimatorUtils, animUtils ) : void
editor Editor
animUtils AnimatorUtils,
return void

drawLevels() public static method

public static drawLevels ( Editor editor, int levels ) : void
editor Editor
levels int
return void

drawPriceInfo() public static method

public static drawPriceInfo ( Editor editor, int prices, UpgradeLevel, type ) : void
editor Editor
prices int
type UpgradeLevel,
return void

drawUpgradeInfoFloat() public static method

public static drawUpgradeInfoFloat ( Editor editor, string caption, float &value ) : void
editor Editor
caption string
value float
return void

drawUpgradeInfoInt() public static method

public static drawUpgradeInfoInt ( Editor editor, string caption, int &value ) : void
editor Editor
caption string
value int
return void

drawUpgradeSpecs() public static method

public static drawUpgradeSpecs ( Editor editor, UpgradeLevel, specs, int prices = null ) : void
editor Editor
specs UpgradeLevel,
prices int
return void