C# Класс TrafficManager.State.Options

Наследование: UnityEngine.MonoBehaviour
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
advancedAI bool
allRelaxed bool
allowEnterBlockedJunctions bool
allowLaneChangesWhileGoingStraight bool
allowUTurns bool
disableSomething1 bool
disableSomething2 bool
disableSomething3 bool
disableSomething4 bool
disableSomething5 bool
enableDespawning bool
highwayRules bool
laneChangingRandomization int
nodesOverlay bool
pathCostMultiplicator float
pathCostMultiplicator2 float
prioritySignsOverlay bool
recklessDrivers int
relaxedBusses bool
showLanes bool
simAccuracy int
someValue float
someValue2 float
someValue3 float
someValue4 float
speedLimitsOverlay bool
strongerRoadConditionEffects bool
timedLightsOverlay bool
vehicleRestrictionsOverlay bool

Открытые методы

Метод Описание
makeSettings ( UIHelperBase helper ) : void
setAdvancedAI ( bool newAdvancedAI ) : void
setAllRelaxed ( bool newAllRelaxed ) : void
setAllowLaneChangesWhileGoingStraight ( bool value ) : void
setAllowUTurns ( bool value ) : void
setEnableDespawning ( bool value ) : void
setHighwayRules ( bool newHighwayRules ) : void
setLaneChangingRandomization ( int newLaneChangingRandomization ) : void
setMayEnterBlockedJunctions ( bool newMayEnterBlockedJunctions ) : void
setNodesOverlay ( bool newNodesOverlay ) : void
setPathCostMultiplicator ( float newPathCostMultiplicator ) : void
setPrioritySignsOverlay ( bool newPrioritySignsOverlay ) : void
setRecklessDrivers ( int newRecklessDrivers ) : void
setRelaxedBusses ( bool newRelaxedBusses ) : void
setShowLanes ( bool newShowLanes ) : void
setSimAccuracy ( int newAccuracy ) : void
setSpeedLimitsOverlay ( bool newSpeedLimitsOverlay ) : void
setStrongerRoadConditionEffects ( bool newStrongerRoadConditionEffects ) : void
setTimedLightsOverlay ( bool newTimedLightsOverlay ) : void
setVehicleRestrictionsOverlay ( bool newVehicleRestrictionsOverlay ) : void

Приватные методы

Метод Описание
checkGameLoaded ( ) : bool
getLaneChangingProbability ( ) : float
getLaneChangingRandomizationTargetValue ( ) : int
getRecklessDriverModulo ( ) : int
isStockLaneChangerUsed ( ) : bool
onAdvancedAIChanged ( bool newAdvancedAI ) : void
onAllRelaxedChanged ( bool newAllRelaxed ) : void
onAllowEnterBlockedJunctionsChanged ( bool newMayEnterBlockedJunctions ) : void
onAllowLaneChangesWhileGoingStraightChanged ( bool newValue ) : void
onAllowUTurnsChanged ( bool newValue ) : void
onClickForgetToggledLights ( ) : void
onDisableSomething1Changed ( bool newDisableSomething ) : void
onDisableSomething2Changed ( bool newDisableSomething ) : void
onDisableSomething3Changed ( bool newDisableSomething ) : void
onDisableSomething4Changed ( bool newDisableSomething ) : void
onDisableSomething5Changed ( bool newDisableSomething ) : void
onEnableDespawningChanged ( bool value ) : void
onHighwayRulesChanged ( bool newHighwayRules ) : void
onLaneChangingRandomizationChanged ( int newLaneChangingRandomization ) : void
onNodesOverlayChanged ( bool newNodesOverlay ) : void
onPathCostMultiplicator2Changed ( string newPathCostMultiplicatorStr ) : void
onPathCostMultiplicatorChanged ( string newPathCostMultiplicatorStr ) : void
onPrioritySignsOverlayChanged ( bool newPrioritySignsOverlay ) : void
onRecklessDriversChanged ( int newRecklessDrivers ) : void
onRelaxedBussesChanged ( bool newRelaxedBusses ) : void
onShowLanesChanged ( bool newShowLanes ) : void
onSimAccuracyChanged ( int newAccuracy ) : void
onSomeValue2Changed ( string newSomeValueStr ) : void
onSomeValue3Changed ( string newSomeValueStr ) : void
onSomeValue4Changed ( string newSomeValueStr ) : void
onSomeValueChanged ( string newSomeValueStr ) : void
onSpeedLimitsOverlayChanged ( bool newSpeedLimitsOverlay ) : void
onStrongerRoadConditionEffectsChanged ( bool newStrongerRoadConditionEffects ) : void
onTimedLightsOverlayChanged ( bool newTimedLightsOverlay ) : void
onVehicleRestrictionsOverlayChanged ( bool newVehicleRestrictionsOverlay ) : void

Описание методов

makeSettings() публичный статический Метод

public static makeSettings ( UIHelperBase helper ) : void
helper UIHelperBase
Результат void

setAdvancedAI() публичный статический Метод

public static setAdvancedAI ( bool newAdvancedAI ) : void
newAdvancedAI bool
Результат void

setAllRelaxed() публичный статический Метод

public static setAllRelaxed ( bool newAllRelaxed ) : void
newAllRelaxed bool
Результат void

setAllowLaneChangesWhileGoingStraight() публичный статический Метод

public static setAllowLaneChangesWhileGoingStraight ( bool value ) : void
value bool
Результат void

setAllowUTurns() публичный статический Метод

public static setAllowUTurns ( bool value ) : void
value bool
Результат void

setEnableDespawning() публичный статический Метод

public static setEnableDespawning ( bool value ) : void
value bool
Результат void

setHighwayRules() публичный статический Метод

public static setHighwayRules ( bool newHighwayRules ) : void
newHighwayRules bool
Результат void

setLaneChangingRandomization() публичный статический Метод

public static setLaneChangingRandomization ( int newLaneChangingRandomization ) : void
newLaneChangingRandomization int
Результат void

setMayEnterBlockedJunctions() публичный статический Метод

public static setMayEnterBlockedJunctions ( bool newMayEnterBlockedJunctions ) : void
newMayEnterBlockedJunctions bool
Результат void

setNodesOverlay() публичный статический Метод

public static setNodesOverlay ( bool newNodesOverlay ) : void
newNodesOverlay bool
Результат void

setPathCostMultiplicator() публичный статический Метод

public static setPathCostMultiplicator ( float newPathCostMultiplicator ) : void
newPathCostMultiplicator float
Результат void

setPrioritySignsOverlay() публичный статический Метод

public static setPrioritySignsOverlay ( bool newPrioritySignsOverlay ) : void
newPrioritySignsOverlay bool
Результат void

setRecklessDrivers() публичный статический Метод

public static setRecklessDrivers ( int newRecklessDrivers ) : void
newRecklessDrivers int
Результат void

setRelaxedBusses() публичный статический Метод

public static setRelaxedBusses ( bool newRelaxedBusses ) : void
newRelaxedBusses bool
Результат void

setShowLanes() публичный статический Метод

public static setShowLanes ( bool newShowLanes ) : void
newShowLanes bool
Результат void

setSimAccuracy() публичный статический Метод

public static setSimAccuracy ( int newAccuracy ) : void
newAccuracy int
Результат void

setSpeedLimitsOverlay() публичный статический Метод

public static setSpeedLimitsOverlay ( bool newSpeedLimitsOverlay ) : void
newSpeedLimitsOverlay bool
Результат void

setStrongerRoadConditionEffects() публичный статический Метод

public static setStrongerRoadConditionEffects ( bool newStrongerRoadConditionEffects ) : void
newStrongerRoadConditionEffects bool
Результат void

setTimedLightsOverlay() публичный статический Метод

public static setTimedLightsOverlay ( bool newTimedLightsOverlay ) : void
newTimedLightsOverlay bool
Результат void

setVehicleRestrictionsOverlay() публичный статический Метод

public static setVehicleRestrictionsOverlay ( bool newVehicleRestrictionsOverlay ) : void
newVehicleRestrictionsOverlay bool
Результат void

Описание свойств

advancedAI публичное статическое свойство

public static bool advancedAI
Результат bool

allRelaxed публичное статическое свойство

public static bool allRelaxed
Результат bool

allowEnterBlockedJunctions публичное статическое свойство

public static bool allowEnterBlockedJunctions
Результат bool

allowLaneChangesWhileGoingStraight публичное статическое свойство

public static bool allowLaneChangesWhileGoingStraight
Результат bool

allowUTurns публичное статическое свойство

public static bool allowUTurns
Результат bool

disableSomething1 публичное статическое свойство

public static bool disableSomething1
Результат bool

disableSomething2 публичное статическое свойство

public static bool disableSomething2
Результат bool

disableSomething3 публичное статическое свойство

public static bool disableSomething3
Результат bool

disableSomething4 публичное статическое свойство

public static bool disableSomething4
Результат bool

disableSomething5 публичное статическое свойство

public static bool disableSomething5
Результат bool

enableDespawning публичное статическое свойство

public static bool enableDespawning
Результат bool

highwayRules публичное статическое свойство

public static bool highwayRules
Результат bool

laneChangingRandomization публичное статическое свойство

public static int laneChangingRandomization
Результат int

nodesOverlay публичное статическое свойство

public static bool nodesOverlay
Результат bool

pathCostMultiplicator публичное статическое свойство

public static float pathCostMultiplicator
Результат float

pathCostMultiplicator2 публичное статическое свойство

public static float pathCostMultiplicator2
Результат float

prioritySignsOverlay публичное статическое свойство

public static bool prioritySignsOverlay
Результат bool

recklessDrivers публичное статическое свойство

public static int recklessDrivers
Результат int

relaxedBusses публичное статическое свойство

public static bool relaxedBusses
Результат bool

showLanes публичное статическое свойство

public static bool showLanes
Результат bool

simAccuracy публичное статическое свойство

public static int simAccuracy
Результат int

someValue публичное статическое свойство

public static float someValue
Результат float

someValue2 публичное статическое свойство

public static float someValue2
Результат float

someValue3 публичное статическое свойство

public static float someValue3
Результат float

someValue4 публичное статическое свойство

public static float someValue4
Результат float

speedLimitsOverlay публичное статическое свойство

public static bool speedLimitsOverlay
Результат bool

strongerRoadConditionEffects публичное статическое свойство

public static bool strongerRoadConditionEffects
Результат bool

timedLightsOverlay публичное статическое свойство

public static bool timedLightsOverlay
Результат bool

vehicleRestrictionsOverlay публичное статическое свойство

public static bool vehicleRestrictionsOverlay
Результат bool