黄森斌
67e9aa1f33
V3.6.0 allow multiple custom scripts exist in project with one same className ( #11763 )
...
* use getClassById instead of _getClassById
* use getClassId instead of _getClassId
* public cc.js.getClassId api
* allow className already exists, new one will replace old classObject
* create component use cid
* allow className exist when registing
* custom script className allow duplicated
* revert some comments
* preserve api and deprecate _getClassById and _getClassId
* revert some comments
* revert comment
* Update cocos/core/utils/js-typed.ts
Co-authored-by: PP <chinese1236@qq.com >
Co-authored-by: PP <chinese1236@qq.com >
2022-07-05 15:19:56 +08:00
minggo
7814949998
Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1
2022-05-24 11:53:57 +08:00
pandamicro
dba83c270d
Fix multi blank lines ( #11116 )
2022-05-17 11:56:06 +08:00
Santy-Wang
23de9188ba
V3.5 docs ( #10898 )
...
* adjust api docs and delete useless annotation
* delete useless annotation
2022-04-27 15:22:22 +08:00
minggo
84c27e7f71
Merge branch 'v3.5.0' into v3.6.0_merge_v3.5
2022-04-24 13:41:27 +08:00
黄森斌
054c1d8eaf
[Bug] fix cc.ClickEvent target type error ( #10552 )
...
* fix cc.ClickEvent target type error
* add event handler schema
* add comments
* add comments
2022-04-10 09:54:30 +08:00
PP
d749bbe1c4
remove legacyPublic tag ( #10702 )
2022-04-08 19:41:20 +08:00
minggo
e80251eae6
Codes for native ( #9920 )
2022-01-11 17:30:18 +08:00
PP
fbde8d1e90
use lagacyPublic to marked deprecated public interface ( #9859 )
...
* use lagacy-public
* publish beta6
* remove jsDoc tag from constructor
* use legacyPublic
* publish beta 7
2021-12-28 11:48:10 +08:00
PP
cc01fad918
support internal interface filter ( #9797 )
...
* support interface filter
* publish build-engine@4.2.20-beta.1
* update
* fix other type of statement
* publish @cocos/build-engine 4.2.20
* update lock
* remove `@internal` from constructor documentation
* change to internal_cc tag
* support target tag in interface-filter
* publish 4.2.21-beta.1
* remove `@private_cc` tag
* remove public internal interface
* remove public internal getter setter
* remove public declare internal property
* update
* remove `__editorExtrasTag__`
* remove public internal interface on `js`
* pulish @cocos/build-engine 4.2.21-beta.2
* change tag to `@deprecated_to_user`
* support `@deprecated_to_user`
* publish 4.2.21-beta.3
* finish change request
* change to marked_as_engine_private
* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
Leslie Leigh (李的序)
f1f0fbaf16
[WIP] Feature: NewGenAnim ( #9331 )
...
* NewGenAnim
* Fix/Optimize simple directional blending
* Class transition by type (#29 )
* Transition & Gradient transition (#30 )
* The default ExitCondition should be 1.0
* Do correct graph eval
* Fix PoseSubgraph connect() signature order (#31 )
* Graph defaults test (#32 )
* Conditions (#33 )
* Trigger (#34 )
* Transition should only be considered when satemachine exited (#35 )
* Add layer.name (#36 )
* Fix some behaviours; add API to query poses and transition (#37 )
Fix single frame exit condition behaviours; Fix pose -> subgraph behaviours
* Support self transition; refactor sub state machine implementation (#38 )
* Temp
* Flat whole layer statemachine
* Add test for test reset triggers
* Allow self transition
* Self transition test
* Fix deserialize (#39 )
* update animgraph template (#40 )
* The inheritance of any state (#41 )
* StateMachine events (#42 )
* Fix state machine events; Allow multiple transitions between two nodes (#43 )
* Transition priority test (#44 )
* Optimize variable bind (#45 )
* Fix variable bind errors (#46 )
* Expose blend algorithm to editor (#47 )
* Cont (#48 )
* update animgraph template (#49 )
* update animgraph template
* update animgraph template
* Pose speed (#50 )
* blend tree add EditorExtendable data (#51 )
* Correct pose blend duration (#52 )
* Export some types (#53 )
* animation pose EditorExtendable (#54 )
(cherry picked from commit d5dd5f32c9dbacb68c016ff8ba56d383c781a021)
* Implement clone() (#55 )
* Fix trigger condition serialization (#56 )
* Add variable type: integer (#57 )
* Optimize 0 weight case (#58 )
* Relative duration (#59 )
* update_hdr_skybox (#9230 )
* Rename.. (#60 )
* Optimize animation blend item export (#61 )
* Fix Type (#62 )
* modify aniamtion graph template data (#63 )
* modify aniamtion graph template data
* add animation graph component template
* Fix serialize issue (#64 )
* Optimize (#65 )
* Remove MotionState.startRatio, loop (#66 )
* Update (#67 )
* Fix circular reference (#68 )
* CR (#69 )
* Fix exit time greater than 1 (#70 )
Co-authored-by: 黄森斌 <arsen2010@126.com >
Co-authored-by: linshunjun <49218738+linshunjun@users.noreply.github.com >
2021-10-14 10:28:23 +08:00
ChiaNing
d138d21dcd
event target serializable bug fix ( #8371 )
2021-03-17 18:04:15 +08:00
ChiaNing
2d869577a5
UI module support zh/en UItooltip ( #8335 )
...
* UI module support zh/en UItooltip
* change sub-context file name
* remove white space
* update
2021-03-13 13:04:34 +08:00
Leslie Leigh (李的序)
9bd9baac12
Eslint autofix all ( #8108 )
...
* Eslint autofix all
* Manual fix
2021-01-09 11:41:10 +08:00
Knox
37fec6341f
sync 2d (Update the url links) ( #7613 )
2020-10-28 17:06:27 +08:00
Jare Guo
0319477911
fix decorator warning of ValueTypes ( #7553 )
...
* fix decorator warning of ValueTypes (sync #6285 )
* refresh copyright
2020-10-21 16:31:41 +08:00
pandamicro
7481303268
Merge branch '3d-v1.2' into 3d
...
# Conflicts:
# cocos/core/3d/framework/camera-component.ts
# cocos/core/assets/mesh.ts
# cocos/core/components/component-event-handler.ts
# cocos/core/game.ts
# cocos/core/gfx/webgl/webgl-commands.ts
# cocos/core/gfx/webgl2/webgl2-commands.ts
# cocos/core/pipeline/define.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/instanced-buffer.ts
# cocos/core/pipeline/render-pipeline.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/shadows.ts
# cocos/core/renderer/scene/skybox.ts
# cocos/core/splash-screen.ts
# cocos/ui/components/button.ts
# cocos/ui/components/editbox/edit-box-impl.ts
# editor/assets/primitives.fbx
# package-lock.json
# package.json
2020-09-30 18:01:33 +08:00
ChiaNing
15a1806d18
API doc format change ( #7456 )
2020-09-28 16:52:52 +08:00
pandamicro
98b8579434
translate api for components ( #7387 )
...
Co-authored-by: Jone <350791117@qq.com >
2020-09-16 13:47:31 +08:00
pandamicro
1d2a82d957
Merge branch '3d-v1.2' into merge1.2
...
# Conflicts:
# cocos/core/3d/framework/mesh-renderer.ts
# cocos/core/components/ui-base/ui-renderable.ts
# cocos/core/pipeline/forward/forward-pipeline.ts
# cocos/core/pipeline/forward/scene-culling.ts
# cocos/core/pipeline/render-additive-light-queue.ts
# cocos/core/pipeline/render-stage.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/core/renderer/core/memory-pools.ts
# cocos/core/renderer/scene/camera.ts
# cocos/core/renderer/scene/model.ts
# cocos/core/renderer/scene/render-scene.ts
# cocos/core/root.ts
# cocos/particle/billboard.ts
# cocos/terrain/terrain.ts
# cocos/ui/components/button.ts
# package-lock.json
# package.json
# tests/general/sealed-global-variables.json
2020-09-02 18:39:09 +08:00
Leslie Leigh (李的序)
bc5b531191
Add decorator @editable @serializable ( #7178 )
2020-09-02 11:44:12 +08:00
Knox
b8d0026694
sync #3d-tasks/issues/3962 ( #7232 )
...
* sync #3d-tasks/issues/3962
https://github.com/cocos-creator/engine/pull/5598
https://github.com/cocos-creator/engine/pull/6575
https://github.com/cocos-creator/engine/pull/6333
https://github.com/cocos-creator/engine/pull/4003
https://github.com/cocos-creator/engine/pull/4240
https://github.com/cocos-creator/engine/pull/5444
https://github.com/cocos-creator/engine/pull/5178
https://github.com/cocos-creator/engine/pull/5656
https://github.com/cocos-creator/engine/pull/5672
https://github.com/cocos-creator/engine/pull/3515
https://github.com/cocos-creator/engine/pull/3617
https://github.com/cocos-creator/engine/pull/3802
https://github.com/cocos-creator/engine/pull/4152
* refine code
2020-08-27 19:51:43 +08:00
Leslie Leigh (李的序)
4f2eff842d
Full optimize decorators ( #7166 )
...
* Full optimize decorators
* Conflicts
* Rename immutable -> readOnly
* Update
* Update
* Update
2020-08-18 19:10:34 +08:00
SB
c2a31b26b7
Update
2020-08-06 17:36:41 +08:00
SB
f0882d6272
Optimize some documents
2020-08-06 17:23:06 +08:00
SijieWang
0678150d85
Prevent tampering with clickEvent.componentId data ( #7052 )
2020-07-31 16:57:33 +08:00
Leslie Leigh (李的序)
5e2adea787
Rename internal usages of global variable 'cc' into 'legacyGlobalExpo… ( #6680 )
...
* Rename internal usages of global variable 'cc' into 'legacyGlobalExports'
* Fix CI
* Rename 'legacyGlobalExports' -> 'legacyCC'
2020-05-14 15:46:45 +08:00
pandamicro
9f89b0ef24
New module division ( #5285 )
...
* Temp
* temp
* move ui core
* Arrange ui and terrain
* Fix import path for all modules except core
* Move primitives into core
* Fix debug.getError
* Move audio-downloader to audio module
* export game from game.ts
* Migrate load-pipeline to ts
* Fix core modules and cleanup
* Move animation into core
* Fix module exports
* Fix director issue
* Remove most cc.director usage
* Fix ts issues
* Fix issues for unit test and editor running
* Revert removing deprecated import
* tweaks
* tweaks
* Fix ci
* Fix ci
* Add modules in module division
* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00