robotlegs-sharp / robotlegs-sharp-framework

An C# application framework. Ported from Robotlegs for ActionScript 3.
MIT License
84 stars 25 forks source link

GameObject.DestroyImmediate used over GameObject.Destroy when needed #14

Closed mattmurton closed 6 years ago

mattmurton commented 6 years ago

DestroyImmediate is now used when Application.isPlaying is false. This solves errors that were occurring when unit tests were run in the editor.

Closes #13

prankard commented 6 years ago

Except the slight indentation change, this is a fine commit