C# Class ExampleObject, TheUnseen

Inheritance: MonoBehaviour
Afficher le fichier Open project: henryj41043/TheUnseen Class Usage Examples

Méthodes publiques

Свойство Type Description
materials Material[]
rotateSpeed float

Méthodes publiques

Méthode Description
Awake ( ) : void
GetCurrentMaterial ( ) : string
SetMaterial ( string name ) : void
SetRotatingSpeed ( float speed ) : void
ToggleRotation ( ) : void
Update ( ) : void

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

GetCurrentMaterial() public méthode

public GetCurrentMaterial ( ) : string
Résultat string

SetMaterial() public méthode

public SetMaterial ( string name ) : void
name string
Résultat void

SetRotatingSpeed() public méthode

public SetRotatingSpeed ( float speed ) : void
speed float
Résultat void

ToggleRotation() public méthode

public ToggleRotation ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

Property Details

materials public_oe property

public Material[] materials
Résultat Material[]

rotateSpeed public_oe property

public float rotateSpeed
Résultat float