* feature : add marco for editor preview and refactor code with new marco
* refactor: replace GAME_VIEW with EDITOR_PREVIEW
* Revert "refactor: replace GAME_VIEW with EDITOR_PREVIEW"
This reverts commit e28953e9e7acbb49dc5bdc650b2ff65510d4b084.
* update cc config json
* refactor code
* remove uselese parentheses
* set ccglobal to be false
* skip global variable test case
* fix gradient value issue https://github.com/cocos/cocos-engine/issues/14534
* use last color when last time
* add EPSILON when repeat
* use epsilon to check last frame
* use approx
* modify input parameters
* remove some duplicated parameters and fix custom material of line component
* remove unused parameter
* change line extends ModelRenderer
* remove log
* remove unnecessary statements
* modify set material
* modify set material
* add @deprecated
* remove sharedMaterial type
* use getter setter instead of update
* add note
* update notes
* refine notes
* do not copy material
* add texture deprecated
* set texture
* add deprecated
* add custom material option
* set all option visible
* set tile offset value when init
* add some English api
* add particle module api
* add api for particle modules
* add noise api
* add api for particle system
* add some particle system apis
* fix some apis
* modify some particle apis
* modify some api docs
* modify english translation
Even if the rateOverDistance is 0, it will still get the world position and calculate the distance, which is waste. To improve performance, only if the rateOverDistance is above 0, it would get the world position and calculate the distance
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
- director.ts
- splash-screen.ts
- game.ts
- move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
- move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
- component.ts
- component-event-handler.ts
- component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`:
- missing-script.ts
- model-renderer.ts
- renderer.ts
- camera-component.ts
* move `cocos/core/components/system.ts` to ``cocos/core/system.ts``
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager