GraphController
class in Doozy.Engine.Nody / Inherits from MonoBehaviour
Static Properties
-
public static readonly List Database – Database used to keep track of all the GraphControllers
Public Variables
-
public bool DebugMode – Enables relevant debug messages to be printed to the console
-
public string ControllerName – The name of this GraphController (useful if you need to find it in the Database)
-
public bool DontDestroyControllerOnLoad – Makes the GameObject, that this GraphController component is attached to, not to get destroyed on load (when the scene changes)
Constructors
-
public GraphController() – Creates a new instance for this class
Public Methods
Static Methods
-
public static GraphController AddToScene(bool selectGameObjectAfterCreation = false) – Adds GraphController to scene and returns a reference to it
-
public static GraphController Get(string controllerName) – Returns the first GraphController with the given controllerName. Returns null if no registered GraphController has the given controllerName