SeedV / SeedLang

An embeddable and visualizable scripting engine for .Net and Unity.
https://seedv.github.io/SeedLang/
Apache License 2.0
9 stars 1 forks source link

Implement FuncCalled and FuncReturned visualization events #172

Closed codingpotato closed 2 years ago

codingpotato commented 2 years ago

Also refactor VisualizerManager by reflection.

codingpotato commented 2 years ago
  1. Implement it. Will not send events for internal functions.
  2. In this case, __printval__ will be called twice. First one is to print the return value of print() function. Second one is to print the return value of foo() function.
  3. Optimize the design to implement it.