C# Class ExampleObject, TheUnseen

Inheritance: MonoBehaviour
显示文件 Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
materials Material[]
rotateSpeed float

Public Methods

Method Description
Awake ( ) : void
GetCurrentMaterial ( ) : string
SetMaterial ( string name ) : void
SetRotatingSpeed ( float speed ) : void
ToggleRotation ( ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

GetCurrentMaterial() public method

public GetCurrentMaterial ( ) : string
return string

SetMaterial() public method

public SetMaterial ( string name ) : void
name string
return void

SetRotatingSpeed() public method

public SetRotatingSpeed ( float speed ) : void
speed float
return void

ToggleRotation() public method

public ToggleRotation ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

materials public_oe property

public Material[] materials
return Material[]

rotateSpeed public_oe property

public float rotateSpeed
return float