Created
December 2, 2015 06:58
-
-
Save csmith/a04ccaec0a42180df537 to your computer and use it in GitHub Desktop.
Sample code showing debugging using antennae 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
void Main(string argument) | |
{ | |
var blocks = new List<IMyTerminalBlock>(); | |
GridTerminalSystem.GetBlocksOfType<IMyRadioAntenna>(blocks); | |
blocks[0].SetCustomName("Received argument: " + argument); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment