C# Class Simulation.SimulationManager

Inheritance: UnityEngine.MonoBehaviour
Show file 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 property

public AIAttributeManager,SinglePlayer blueTeamAttributes
return SinglePlayer.AIAttributeManager

blueTeamLeaderboard public property

public Leaderboard blueTeamLeaderboard
return Leaderboard

contentPane public property

public RectTransform,UnityEngine contentPane
return UnityEngine.RectTransform

editTeamToggleGroup public property

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

equationInputField public property

public InputField equationInputField
return InputField

isEditingYellowTeam public property

public bool isEditingYellowTeam
return bool

labelName public property

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

levelInfoPrefab public property

public GameObject levelInfoPrefab
return GameObject

simulationStarter public property

public SimulationStarter,Simulation simulationStarter
return SimulationStarter

teamEquations public property

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

unitAttributeToggleGroup public property

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

yellowTeamAttributes public property

public AIAttributeManager,SinglePlayer yellowTeamAttributes
return SinglePlayer.AIAttributeManager

yellowTeamLeaderboard public property

public Leaderboard yellowTeamLeaderboard
return Leaderboard