Add ObjectIdForDebugger to allow IDE stepin debug, #66, #41

This commit is contained in:
neuecc
2020-04-26 21:49:07 +09:00
parent 341953b441
commit 9f7b897837
3 changed files with 88 additions and 6 deletions

View File

@@ -84,6 +84,22 @@ namespace UniRx.Async.CompilerServices
public void SetStateMachine(IAsyncStateMachine stateMachine)
{
}
#if UNITY_EDITOR
// Important for IDE debugger.
object debuggingId;
private object ObjectIdForDebugger
{
get
{
if (debuggingId == null)
{
debuggingId = new object();
}
return debuggingId;
}
}
#endif
}
}