AddSafe
Introduction
Code Example
// Assumes instructionToAdd is a valid Instruction
InstructionManager.AddSafe(instructionToAdd);AddSafe and calling code on the primary thread
InstructionManager.AddSafe( ()=>
{
// Do whatever you need to here
});InstructionManager.AddSafe(()=>SpriteManager.AddSprite("redball.bmp"));Last updated
Was this helpful?