/-
Created
May 15, 2017 00:28
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