improvement Unity compatibility
added callback for SingleTask.cs