C# Class Simulation.SimulationManager

Inheritance: UnityEngine.MonoBehaviour
Exibir arquivo Open project: tommai78101/Multiplier Class Usage Examples

Public Properties

Property Type Description
blueTeamAttributes SinglePlayer.AIAttributeManager
blueTeamLeaderboard Leaderboard
contentPane UnityEngine.RectTransform
editTeamToggleGroup UnityEngine.UI.ToggleGroup
equationInputField InputField
isEditingYellowTeam bool
labelName UnityEngine.UI.Text
levelInfoPrefab GameObject
simulationStarter SimulationStarter
teamEquations Simulation.EquationInfo[]
unitAttributeToggleGroup UnityEngine.UI.ToggleGroup
yellowTeamAttributes SinglePlayer.AIAttributeManager
yellowTeamLeaderboard Leaderboard

Public Methods

Method Description
FixedUpdate ( ) : void
Start ( ) : void
UpdateAttribute ( Toggle toggle ) : void
UpdateEquation ( ) : void
UpdateLevelInfo ( int toggleValue, string equation ) : void
UpdateTeamToggle ( Toggle toggle ) : void

Private Methods

Method Description
CheckAttributeToggle ( ) : void
CheckTeamToggle ( ) : void
Initialization ( ) : void
InitializeTeamEquations ( ) : void
SetDefaultLevelInfo ( ) : void
UpdateLevelInfoIteration ( int level, float answer, float previousAnswer ) : void

Method Details

FixedUpdate() public method

public FixedUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void

UpdateAttribute() public method

public UpdateAttribute ( Toggle toggle ) : void
toggle Toggle
return void

UpdateEquation() public method

public UpdateEquation ( ) : void
return void

UpdateLevelInfo() public method

public UpdateLevelInfo ( int toggleValue, string equation ) : void
toggleValue int
equation string
return void

UpdateTeamToggle() public method

public UpdateTeamToggle ( Toggle toggle ) : void
toggle Toggle
return void

Property Details

blueTeamAttributes public_oe property

public AIAttributeManager,SinglePlayer blueTeamAttributes
return SinglePlayer.AIAttributeManager

blueTeamLeaderboard public_oe property

public Leaderboard blueTeamLeaderboard
return Leaderboard

contentPane public_oe property

public RectTransform,UnityEngine contentPane
return UnityEngine.RectTransform

editTeamToggleGroup public_oe property

public ToggleGroup,UnityEngine.UI editTeamToggleGroup
return UnityEngine.UI.ToggleGroup

equationInputField public_oe property

public InputField equationInputField
return InputField

isEditingYellowTeam public_oe property

public bool isEditingYellowTeam
return bool

labelName public_oe property

public Text,UnityEngine.UI labelName
return UnityEngine.UI.Text

levelInfoPrefab public_oe property

public GameObject levelInfoPrefab
return GameObject

simulationStarter public_oe property

public SimulationStarter,Simulation simulationStarter
return SimulationStarter

teamEquations public_oe property

public EquationInfo[],Simulation teamEquations
return Simulation.EquationInfo[]

unitAttributeToggleGroup public_oe property

public ToggleGroup,UnityEngine.UI unitAttributeToggleGroup
return UnityEngine.UI.ToggleGroup

yellowTeamAttributes public_oe property

public AIAttributeManager,SinglePlayer yellowTeamAttributes
return SinglePlayer.AIAttributeManager

yellowTeamLeaderboard public_oe property

public Leaderboard yellowTeamLeaderboard
return Leaderboard