ProjectUnifree / unifree

MIT License
1.43k stars 75 forks source link

Create Cocos Creator Script Migration #7

Open bshikin opened 12 months ago

bshikin commented 12 months ago

Create configs/cocos2d.yaml with configuration to migrate Unity .cs code to Cocos2d.

The configuration will likely look similar to configs/unreal.yaml: it will have to be done using CSharpCompilationUnitToInterfaceImplementationWithChatGpt class to generate separate header and implementation files.

Note: ChatGPT doesn't always return clean header/implementation split, so extra attention should be paid to its output (and potentially changes made to ChatGptMixin::extract_header_implementation