Created
December 3, 2015 16:52
-
-
Save csmith/c5e247970370916b71bf to your computer and use it in GitHub Desktop.
Snippet to show how to list actions in Space Engineers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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