My Project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
RoslynCSharp.Example.MazeCrawlerExample Class Reference

Main type fomr the included example maze crawler game. Manages the scripting and UI elements of the game. More...

Inheritance diagram for RoslynCSharp.Example.MazeCrawlerExample:

Public Member Functions

void Awake ()
 Called by Unity.
 
void Start ()
 Called by Unity.
 
void RunCrawler ()
 Main run method. This causes any modified code to be recompiled and executed on the mouse crawler.
 
void StopCrawler ()
 Causes the mouse crawler to stop moving and reset to its initial position.
 
void RestartCrawler ()
 Causes the mouse crawler to reset its initial position and start crawling again.
 

Public Attributes

InputField runCrawlerInput
 The main code editor input field.
 
Button runCrawlerButton
 The run code button.
 
Button stopCrawlerButton
 The stop code button.
 
Button restartCrawlerButton
 The restart code button.
 
Button editCodeButton
 The edit code button.
 
GameObject codeEditorWindow
 The code editor window root game object.
 
Button codeEditorCloseButton
 The code editor window close button.
 
Button codeEditorLoadTemplateButton
 The code editor button load template button.
 
Button codeEditorLoadSolutionButton
 The code editor button load solution button.
 
GameObject mazeMouse
 The maze mouse crawler game object.
 
GameObject breadcrumbPrefab
 The breadcrumb object that is dropped after every move.
 
TextAsset mazeCodeTemplate
 The code template for an empty script.
 
TextAsset mazeCodeSolution
 The completed code for the maze craler.
 
float mouseSpeed = 5f
 The speed that the crawler moves around the maze.
 
bool showCompletedCodeOnStartup = false
 When true the maze solution will be loaded instead of the blank code template.
 
AssemblyReferenceAsset[] assemblyReferences
 

Detailed Description

Main type fomr the included example maze crawler game. Manages the scripting and UI elements of the game.


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