1 Ensure that it can be used normally on various platforms
2 Ensure that the performance of each platform is taken into account
3 Ensure user experience on each platform and take into account platform differences
Two points to note:
1 User interaction events need to be adapted for different platforms
2. Unused objects must be logged out from the event manager, otherwise memory leaks will occur.