Infinite Runner Engine  v2.1
MoreMountains.InfiniteRunnerEngine.ExampleScenario Class Reference
Inheritance diagram for MoreMountains.InfiniteRunnerEngine.ExampleScenario:
MoreMountains.InfiniteRunnerEngine.ScenarioManager

Protected Member Functions

override void Scenario ()
 Describes the scenario More...
 
- Protected Member Functions inherited from MoreMountains.InfiniteRunnerEngine.ScenarioManager
virtual void Awake ()
 On Awake, we initialize our scenario More...
 
virtual void Start ()
 On start, we create and fill the scenario More...
 
virtual void AddTimeEvent (string timeInStringNotation, Action action, string eventName="")
 Adds an event to the scenario that will be triggered at the specified time. More...
 
virtual void AddScoreEvent (float startScore, Action action, string eventName="")
 Adds the score event. More...
 
virtual void EvaluateScenario ()
 Evaluates the scenario, triggering events every time the level's running time is higher than their start time More...
 
virtual void TestMethod (string someMessage)
 A test method that just displays the string passed as an argument. Just used for demo purposes. More...
 

Additional Inherited Members

- Public Member Functions inherited from MoreMountains.InfiniteRunnerEngine.ScenarioManager
virtual void StopScenario ()
 Use this method to stop the scenario from being evaluated More...
 
- Public Attributes inherited from MoreMountains.InfiniteRunnerEngine.ScenarioManager
float EvaluationFrequency = 1
 The frequency at which the scenario will be evaluated, in seconds. More...
 
bool UseEventManager = true
 
- Protected Attributes inherited from MoreMountains.InfiniteRunnerEngine.ScenarioManager
List< ScenarioEvent_scenario
 

Member Function Documentation

◆ Scenario()

override void MoreMountains.InfiniteRunnerEngine.ExampleScenario.Scenario ( )
protectedvirtual

Describes the scenario

Reimplemented from MoreMountains.InfiniteRunnerEngine.ScenarioManager.


The documentation for this class was generated from the following file: