Closed AlmirKadric closed 6 years ago
Is this ready to be merged? I see no reviewers assigned, but the PR is no longer a WIP
This PR is ready to be merged, but I was waiting to have the core architecture done in the current project to make sure this PR is good enough. Once we're confident that this is a good change we will push for a merge.
Any updates on this PR?
Next time could we make sure to follow the review process, and make sure someone approves the PR?
Now with Unity having a much nicer way to handle asynchronous behaviour (amongst other niceties) as well the current implementation of modules not conforming to the JS SDK (and being a bit bloated as well), I have taken the opportunity to remove some redundant code / features and change minor behaviours to make the SDK nicer to work with in C#.
For those wondering how setup works now, it would look something like this:
Also since the optional module setup function wasn't bringing much except for some logs to tell you if you had one or not, the feature has been removed. Instead you are responsible to setup your own modules. In Unity it could look something like this:
Lastly since the usercommand wrapper wasn't doing much and people prefer to wrap it inside their module class for type safety, you can now instead call it directly using the
Command
functions rather than selecting the command from the list ofAction
s.