public void CompileScript() { // Compile the ccl source with the utility function // pass in the context type try { _source = _sourceInput.text; _compiledScript = CCL.ScriptUtility.CompileScript(_source, typeof(SpaceSceneContext)); _compiledScript.SetContext(_context); } catch (System.Exception e) { _modal.ShowMessage(e.ToString()); _compiledScript = null; } }