C# Class GearSelector, clockwork

Inheritance: MonoBehaviour
显示文件 Open project: shadowseer99/clockwork

Public Properties

Property Type Description
gears Gear[],
goldMaterial Material

Public Methods

Method Description
GetGearByCollSize ( float radius, bool isGolden = false ) : Gear,
GetGearByPegs ( int numPegs, bool isGolden = false ) : Gear,
GetGearByTrigSize ( float radius, bool isGolden = false ) : Gear,

Method Details

GetGearByCollSize() public method

public GetGearByCollSize ( float radius, bool isGolden = false ) : Gear,
radius float
isGolden bool
return Gear,

GetGearByPegs() public method

public GetGearByPegs ( int numPegs, bool isGolden = false ) : Gear,
numPegs int
isGolden bool
return Gear,

GetGearByTrigSize() public method

public GetGearByTrigSize ( float radius, bool isGolden = false ) : Gear,
radius float
isGolden bool
return Gear,

Property Details

gears public_oe property

public Gear[], gears
return Gear[],

goldMaterial public_oe property

public Material goldMaterial
return Material