mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-05 02:52:39 +08:00
Remove compatibility code
This commit is contained in:
@@ -188,11 +188,6 @@ var properties = {
|
||||
return this._file;
|
||||
},
|
||||
set: function (value, force) {
|
||||
if (typeof value === 'string') {
|
||||
// backward compatibility since 1.10
|
||||
cc.errorID(8401, 'cc.ParticleSystem', 'cc.ParticleAsset', 'ParticleAsset', 'cc.ParticleAsset', 'particle');
|
||||
value = { nativeUrl: value };
|
||||
}
|
||||
if (this._file !== value || (CC_EDITOR && force)) {
|
||||
this._file = value;
|
||||
if (value) {
|
||||
|
||||
Reference in New Issue
Block a user