# u3dpartile2cocos **Repository Path**: lehung/u3dpartile2cocos ## Basic Information - **Project Name**: u3dpartile2cocos - **Description**: A plug-in for cocoscreator that converts unity's particle effects into cocos - **Primary Language**: Unknown - **License**: MulanPSL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 32 - **Created**: 2023-02-22 - **Last Updated**: 2023-10-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #u3dpartile2cocos #### introduce A plug-in for cocoscreator that converts unity's particle effects into cocos #### Instructions for use 1. Download and put the u3dparticle2cocos folder into the extension of the ccc project 2. Put the u3dparticle2cocos.ts script into the project 3. Set the particle special effects prefab saving format in unity to forceText:Editor->ProjectSettings->Editor->Mode to ForceText 4. After saving the prefab, put all the prefabs that need to be converted into a new folder 5. Open the project, enable the u3dparticle2cocos plug-in, click on the plug-in panel in the upper toolbar, select the newly created folder in the panel, and click the button to generate the cocos node #### Related instructions 1. The plug-in will generate a root node under the currently selected node. The u3dParticle2cocos component will be automatically added to the root node. This component will be used to parse the u3d prefab information and generate a cocos node under the root. 2. The material needs to be re-drag and bound by yourself. Some attributes are different between u3d and cocos. Please make fine adjustments according to the specific situation. 3. When developing the plug-in, the u3d version used is 2020.1.0f1, and the cocoscreator version is 3.7. I haven't tried other versions yet. 4. Due to the parsing and assignment logic, it is written in the component. A capable friend can modify it by himself without knowing how to develop a plug-in.