Skip to content

Instantly share code, notes, and snippets.

@csmith
Created December 3, 2015 16:52
Show Gist options
  • Save csmith/c5e247970370916b71bf to your computer and use it in GitHub Desktop.
Save csmith/c5e247970370916b71bf to your computer and use it in GitHub Desktop.
Snippet to show how to list actions in Space Engineers
List<ITerminalAction> actions = new List<ITerminalAction>();
block.GetActions(actions);
foreach (var action in actions)
{
Echo(action.Id + " " + action.Name);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment