C# Class DemoScript, OZML

Inheritance: MonoBehaviour
Afficher le fichier Open project: merveilles/OZML Class Usage Examples

Méthodes publiques

Свойство Type Description
m_EarthquakeSound UnityEngine.AudioClip
m_ExplosionSound UnityEngine.AudioClip
m_StompSound UnityEngine.AudioClip

Méthodes publiques

Méthode Description
DemoExamples ( ) : void
DemoForces ( ) : void
DemoIntro ( ) : void
DemoMouseInput ( ) : void
DemoOutro ( ) : void
DemoPivot ( ) : void
DemoPreset ( ) : void
DemoShooter ( ) : void
DemoWeaponLayer ( ) : void
DemoWeaponPerspective ( ) : void
DoCrouch ( ) : void
DoScreenTransition ( ) : void
DontCrouch ( ) : void
DrawBoxes ( string caption, string description ) : void
DrawCrosshair ( ) : void
DrawEditorPreview ( Texture section ) : void
DrawFullScreenText ( ) : void
DrawImage ( Texture image ) : void
DrawImage ( Texture image, float xOffset, float yOffset ) : void
Fire ( ) : void
LoadCamera ( string preset ) : void
LoadWeaponPreset ( string weaponPreset, string shooterPreset = "", bool smoothFade = false ) : void
LockPlayer ( Vector3 pos, Vector2 startAngle ) : void
LockPlayer ( Vector3 pos, Vector2 startAngle, bool lockCamera ) : void
OnGUI ( ) : void
Reset ( ) : void
Start ( ) : void
SwitchWeapon ( int weapon, string weaponPreset, string shooterPreset = "" ) : void
Teleport ( Vector3 pos, Vector2 startAngle ) : void
UnlockPlayer ( ) : void
Update ( ) : void
ZoomIn ( ) : void
ZoomOut ( ) : void

Private Methods

Méthode Description
ButtonColumn ( int y, int sel, string strings ) : int
ButtonToggle ( Rect rect, string label, bool state, bool arrow ) : bool
InitGUIStyles ( ) : void
ToggleColumn ( int width, int y, int sel, string strings, bool center, bool arrow ) : int

Method Details

DemoExamples() public méthode

public DemoExamples ( ) : void
Résultat void

DemoForces() public méthode

public DemoForces ( ) : void
Résultat void

DemoIntro() public méthode

public DemoIntro ( ) : void
Résultat void

DemoMouseInput() public méthode

public DemoMouseInput ( ) : void
Résultat void

DemoOutro() public méthode

public DemoOutro ( ) : void
Résultat void

DemoPivot() public méthode

public DemoPivot ( ) : void
Résultat void

DemoPreset() public méthode

public DemoPreset ( ) : void
Résultat void

DemoShooter() public méthode

public DemoShooter ( ) : void
Résultat void

DemoWeaponLayer() public méthode

public DemoWeaponLayer ( ) : void
Résultat void

DemoWeaponPerspective() public méthode

public DemoWeaponPerspective ( ) : void
Résultat void

DoCrouch() public méthode

public DoCrouch ( ) : void
Résultat void

DoScreenTransition() public méthode

public DoScreenTransition ( ) : void
Résultat void

DontCrouch() public méthode

public DontCrouch ( ) : void
Résultat void

DrawBoxes() public méthode

public DrawBoxes ( string caption, string description ) : void
caption string
description string
Résultat void

DrawCrosshair() public méthode

public DrawCrosshair ( ) : void
Résultat void

DrawEditorPreview() public méthode

public DrawEditorPreview ( Texture section ) : void
section Texture
Résultat void

DrawFullScreenText() public méthode

public DrawFullScreenText ( ) : void
Résultat void

DrawImage() public méthode

public DrawImage ( Texture image ) : void
image Texture
Résultat void

DrawImage() public méthode

public DrawImage ( Texture image, float xOffset, float yOffset ) : void
image Texture
xOffset float
yOffset float
Résultat void

Fire() public méthode

public Fire ( ) : void
Résultat void

LoadCamera() public méthode

public LoadCamera ( string preset ) : void
preset string
Résultat void

LoadWeaponPreset() public méthode

public LoadWeaponPreset ( string weaponPreset, string shooterPreset = "", bool smoothFade = false ) : void
weaponPreset string
shooterPreset string
smoothFade bool
Résultat void

LockPlayer() public méthode

public LockPlayer ( Vector3 pos, Vector2 startAngle ) : void
pos Vector3
startAngle Vector2
Résultat void

LockPlayer() public méthode

public LockPlayer ( Vector3 pos, Vector2 startAngle, bool lockCamera ) : void
pos Vector3
startAngle Vector2
lockCamera bool
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

SwitchWeapon() public méthode

public SwitchWeapon ( int weapon, string weaponPreset, string shooterPreset = "" ) : void
weapon int
weaponPreset string
shooterPreset string
Résultat void

Teleport() public méthode

public Teleport ( Vector3 pos, Vector2 startAngle ) : void
pos Vector3
startAngle Vector2
Résultat void

UnlockPlayer() public méthode

public UnlockPlayer ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

ZoomIn() public méthode

public ZoomIn ( ) : void
Résultat void

ZoomOut() public méthode

public ZoomOut ( ) : void
Résultat void

Property Details

m_EarthquakeSound public_oe property

public AudioClip,UnityEngine m_EarthquakeSound
Résultat UnityEngine.AudioClip

m_ExplosionSound public_oe property

public AudioClip,UnityEngine m_ExplosionSound
Résultat UnityEngine.AudioClip

m_StompSound public_oe property

public AudioClip,UnityEngine m_StompSound
Résultat UnityEngine.AudioClip