Documentation
GoEngine engine is fully compatible with Cocos-Creator 3.5.0
Get the GoEngine engine
Download address: https://github.com/vision-consensus/vision-goengine
After the download is successful, store any local directory
![iShot_2022-05-16_11.25.26.png 2250](https://files.readme.io/9ab1f76-iShot_2022-05-16_11.25.26.png)
Download and install Cocos Creator 3.5.0
![iShot_2022-05-16_14.24.31.png 1918](https://files.readme.io/9439cf5-iShot_2022-05-16_14.24.31.png)
Modify the TypeScript engine path
Set the TypeScript engine path that needs to be customized through the Engine Manager tab of Cocos Creator -> Preferences. It should be noted that the editor needs to be restarted after modifying the engine path.
![iShot_2022-05-16_14.23.25.png 1600](https://files.readme.io/99be60e-iShot_2022-05-16_14.23.25.png)
Restart Cocos Creator for automatic compilation
Using VisionWeb in Scripts
// import VisionWeb and IVisionWeb
// IVisionWeb is the interface definition in the engine VisionWeb
import { _decorator, Component, Node, VisionWeb, IVisionWeb, math } from 'cc';
// instantiate visionweb
const visionWeb: IVisionWeb = new VisionWeb('https://infragrid.v.network', 'https://infragrid.v.network', 'https://infragrid.v.network');
View related interface definitions
![iShot_2022-05-16_11.39.08.png 1986](https://files.readme.io/57da019-iShot_2022-05-16_11.39.08.png)
Updated about 2 years ago