//enforces singleton pattern void Awake() { if (instance == null) { instance = this; } else if (instance != null) { Destroy(gameObject); } }
Step Step(Location Location) { return(StepParser.StepFrom(Location)); }