Свойство | Тип | Описание | |
---|---|---|---|
AaCombo | Dropdown | ||
AfCombo | Dropdown | ||
AoBool | System.Boolean | ||
AoScriptName | String | ||
AoToggle | Toggle | ||
AudioEffectsSlider | Slider | ||
AudioMasterSlider | Slider | ||
AudioMusicSlider | Slider | ||
AudioPanel | |||
AudioPanelAnimator | |||
CreditsPanel | |||
CreditsPanelAnimator | |||
DefualtSelectedAudio | |||
DefualtSelectedCredits | |||
DefualtSelectedMain | |||
DefualtSelectedVideo | |||
DetailDensity | float | ||
DofBool | System.Boolean | ||
DofScriptName | String | ||
DofToggle | Toggle | ||
Effects | UnityEngine.AudioSource[] | ||
FovSlider | Slider | ||
FullscreenToggle | Toggle | ||
HardCodeSomeVideoSettings | System.Boolean | ||
HighQualTreeSlider | Slider | ||
LodBias | float[] | ||
MainCam | |||
MainCamObj | |||
MainMenu | String | ||
MainPanel | |||
Mask | |||
MasterTexSlider | Slider | ||
ModelQualSlider | Slider | ||
Music | UnityEngine.AudioSource[] | ||
OtherUiElements | UnityEngine.GameObject[] | ||
PauseMenu | |||
PresetLabel | |||
QuitPanelAnimator | |||
ReadSimpleTerrain | |||
ReadTerrain | |||
ReadUseSimpleTerrain | System.Boolean | ||
RenderDistSlider | Slider | ||
ResolutionLabel | |||
ShadowCascadesSlider | Slider | ||
ShadowDist | float[] | ||
ShadowDistSlider | Slider | ||
SimpleTerrain | |||
Terrain | |||
TerrainDensitySlider | Slider | ||
TerrainQualSlider | Slider | ||
TimeScale | float | ||
TitleTexts | |||
UiEventSystem | |||
UseSimpleTerrain | System.Boolean | ||
VSyncToggle | Toggle | ||
VidPanel | |||
VidPanelAnimator |
Свойство | Тип | Описание | |
---|---|---|---|
ApplyAudioMain | IEnumerator | ||
ApplyVideo | IEnumerator | ||
CancelAudioMain | IEnumerator | ||
CancelVideoMain | IEnumerator | ||
ChangeRes | void | ||
CreditsReturnMain | IEnumerator | ||
FromPreset | void |
Метод | Описание | |
---|---|---|
Apply ( ) : void |
Apply the video settings
|
|
ApplyAudio ( ) : void |
The method for changing the applying new audio settings
|
|
Audio ( ) : void |
Show the audio panel
|
|
AudioIn ( ) : void |
Play the "audio panel in" animation.
|
|
CancelAudio ( ) : void |
Cancel the audio setting changes
|
|
CancelVideo ( ) : void |
Cancel the video setting changes
|
|
CreditsIn ( ) : void | ||
CreditsReturn ( ) : void |
Return to the main menu from the credits panel
|
|
EnableSimpleTerrain ( System.Boolean b ) : void | ||
LastPreset ( ) : void |
Set the quality level one level lower. This is done by getting the current quality level, then using
|
|
LastRes ( ) : void |
Method for moving to the last resoution in the allRes array. WARNING: This is not finished/buggy.
|
|
NextPreset ( ) : void |
Set the quality level one level higher. This is done by getting the current quality level, then using
|
|
NextRes ( ) : void |
Method for moving to the next resoution in the allRes array. WARNING: This is not finished/buggy.
|
|
QuitCancel ( ) : void |
Cancels quittting by playing an animation.
|
|
QuitGame ( ) : void |
Method to quit the game. Call methods such as auto saving before qutting here.
|
|
QuitOptions ( ) : void |
All the methods relating to qutting should be called here.
|
|
Restart ( ) : void |
Restart the level by loading the loaded level.
|
|
Resume ( ) : void |
Method to resume the game, so disable the pause menu and re-enable all other ui elements
|
|
ReturnToMenu ( ) : void |
Loads the main menu scene.
|
|
SetFullScreen ( bool b ) : void |
Set the game to windowed or full screen. This is meant to be used with a checkbox
|
|
SetGraphicsPreset ( int preset ) : void |
Sets the Graphic to a Preset (from very low to extreme) (note: UI buttons in the inspector can carry a parameter, so you wont need 7 methods)
|
|
SetLodBias ( float loDBias ) : void |
Change the lod bias using
|
|
SetMsaaLevel ( int level ) : void |
Sets the MSAA to a specific level (between 0 and 4)
|
|
Start ( ) : void |
The start method; you will need to place all of your inital value getting/setting here.
|
|
ToggleAo ( bool b ) : void |
Toggle on or off Ambient Occulusion. This is meant to be used with a checkbox.
|
|
ToggleDof ( bool b ) : void |
Toggle on or off Depth of Field. This is meant to be used with a checkbox.
|
|
TreeMaxLod ( float qual ) : void |
Change the max amount of high quality trees using
|
|
TurnOnVSync ( bool b ) : void | ||
Update ( ) : void |
The update method. This mainly searches for the user pressing the escape key.
|
|
UpdateAniso ( int anisoSetting ) : void |
The method for changing aniso settings
|
|
UpdateCascades ( float cascades ) : void |
The method for setting the amount of shadow cascades
|
|
UpdateDensity ( float density ) : void |
Update terrain density
|
|
UpdateEffectsVol ( float f ) : void |
Update the audio effects volume
|
|
UpdateFov ( float fov ) : void |
Change the fov using a float. The defualt should be 60.
|
|
UpdateMasterVol ( float f ) : void |
Audio Option Methods
|
|
UpdateMusicVol ( float f ) : void |
Update music effects volume
|
|
UpdateRenderDist ( float f ) : void |
Update the render distance using
|
|
UpdateShadowDistance ( float dist ) : void |
Update the shadow distance using
|
|
UpdateTerrainLod ( float qual ) : void |
Change the height map max LOD using
|
|
UpdateTex ( float qual ) : void |
Update the texture quality using
|
|
UpdateTreeMeshAmt ( int f ) : void |
Update full high quality tree mesh amount.
|
|
Video ( ) : void |
Show video
|
|
VideoIn ( ) : void |
Play the "video panel in" animation
|
Метод | Описание | |
---|---|---|
ApplyAudioMain ( ) : IEnumerator |
Use an IEnumerator to first play the animation and then change the audio settings
|
|
ApplyVideo ( ) : IEnumerator |
Use an IEnumerator to first play the animation and then change the video settings.
|
|
CancelAudioMain ( ) : IEnumerator |
Use an IEnumerator to first play the animation and then change the audio settings
|
|
CancelVideoMain ( ) : IEnumerator |
Use an IEnumerator to first play the animation and then changethe video settings
|
|
ChangeRes ( int index ) : void | ||
CreditsReturnMain ( ) : IEnumerator |
Use an IEnumerator to first play the animation and then hide other panels settings
|
|
FromPreset ( ) : void |
public EnableSimpleTerrain ( System.Boolean b ) : void | ||
b | System.Boolean | |
Результат | void |
public SetGraphicsPreset ( int preset ) : void | ||
preset | int | |
Результат | void |
public SetLodBias ( float loDBias ) : void | ||
loDBias | float | |
Результат | void |
public SetMsaaLevel ( int level ) : void | ||
level | int | log2 of the desired level. /// 0 -> 0x MSAA (disabled). /// 1 -> 2x MSAA. /// 2 -> 4x MSAA. /// 3 -> 8x MSAA. /// |
Результат | void |
public UpdateAniso ( int anisoSetting ) : void | ||
anisoSetting | int | |
Результат | void |
public UpdateCascades ( float cascades ) : void | ||
cascades | float | |
Результат | void |
public UpdateDensity ( float density ) : void | ||
density | float | |
Результат | void |
public UpdateEffectsVol ( float f ) : void | ||
f | float | |
Результат | void |
public UpdateRenderDist ( float f ) : void | ||
f | float | |
Результат | void |
public UpdateShadowDistance ( float dist ) : void | ||
dist | float | |
Результат | void |
public UpdateTerrainLod ( float qual ) : void | ||
qual | float | |
Результат | void |
public GameObject,UnityEngine AudioPanel | ||
Результат |
public Animator,UnityEngine AudioPanelAnimator | ||
Результат |
public GameObject,UnityEngine CreditsPanel | ||
Результат |
public Animator,UnityEngine CreditsPanelAnimator | ||
Результат |
public GameObject,UnityEngine DefualtSelectedAudio | ||
Результат |
public GameObject,UnityEngine DefualtSelectedCredits | ||
Результат |
public GameObject,UnityEngine DefualtSelectedMain | ||
Результат |
public GameObject,UnityEngine DefualtSelectedVideo | ||
Результат |
public static Boolean,System DofBool | ||
Результат | System.Boolean |
public AudioSource[],UnityEngine Effects | ||
Результат | UnityEngine.AudioSource[] |
public Boolean,System HardCodeSomeVideoSettings | ||
Результат | System.Boolean |
public GameObject,UnityEngine MainCamObj | ||
Результат |
public GameObject,UnityEngine MainPanel | ||
Результат |
public GameObject[],UnityEngine OtherUiElements | ||
Результат | UnityEngine.GameObject[] |
public Animator,UnityEngine QuitPanelAnimator | ||
Результат |
public static Terrain,UnityEngine ReadSimpleTerrain | ||
Результат |
public static Terrain,UnityEngine ReadTerrain | ||
Результат |
public static Boolean,System ReadUseSimpleTerrain | ||
Результат | System.Boolean |
public Text,UnityEngine.UI ResolutionLabel | ||
Результат |
public Terrain,UnityEngine SimpleTerrain | ||
Результат |
public GameObject,UnityEngine TitleTexts | ||
Результат |
public EventSystem,UnityEngine.EventSystems UiEventSystem | ||
Результат |