-
-
Save anonymous/76e069b858319e7c9b904e54c6369c99 to your computer and use it in GitHub Desktop.
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
private IScienceDataTransmitter transmitter { get { return ScienceUtil.GetBestTransmitter(vessel); } } | |
void MyCallback() { | |
Debug.Log("MyCallback CALLED!"); | |
} | |
void TransmitData(ScienceData data, IScienceDataContainer container) { | |
transmitter.TransmitData(new List<ScienceData> { data }, MyCallback); | |
container.DumpData(data); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment