object already destroyed 是什么问题 ? 只要修改任何prefab的任何属性, 再打开任何场景和PREFAB都会提示object already destroyed .k11 (新手很萌的) 2019年04月24日 06:46 #2 解决了, 诡异的好了!leyin (cannon) 2019年04月1日 02:03 #3 请问楼主怎么解决的 ...
10. Fixed an issue where the player stored in the audioManager could be destroyed. 11. Optimized potential lag issues when performing mutliple audio operations on the same audio object within the same frame. 12. Fixed calling audio play multiple times would cause the progress bar to remain stuck...
When an object's destroy is called, it is actually destroyed after the end of this frame. So isValid will return false from the next frame, while isValid in the current frame will still be true. If you want to determine whether the current frame has called destroy, use cc.isValid(obj...
log(node.isValid); // false, destroyed in the end of last frame Defined in cocos/core/data/object.ts:284 public isTrigger : boolean Inherited from: Collider.isTrigger Gets or sets the collider is trigger, this will be always trigger if using builtin. Defined in cocos/physics/framework...
Cocos has an assetManager object that provides a loadRemote method to load network resources and provides a callback function to use this resource. Game subcontracting (Bundle) Divide the game into different packages, then put some packages on the network, and load the subpackages during the game...
* @property config * @type {Object} */ config: null, /** * !#en Callback when the scripts of engine have been load. * !#zh 当引擎完成启动后的回调函数。 * @method onStart * @type {Function} */ // restart也会调用 onStart: null, //@Public Methods // @Game play control /**...
[FIX] Lua gc will cause correcsponding c++ object been released [FIX] Some lua manual binding functions don't remove unneeded element in the lua stack [FIX] The setBlendFunc method of some classes wasn't exposed to LUA [Javascript binding] ...
Creates the action easing object with the rate parameter. <br /> From fast to slow. !#zh 创建 easeOut 缓动对象,由快到慢。 @param rate rate @example ```js action.easing(cc.easeOut(3.0)); ``` */ export function easeOut(rate: number): any; /** !#en Creates the action easin...
* !#en An object to boot the game. * !#zh 包含游戏主体信息并负责驱动游戏的游戏对象。 * @class Game * @extends EventTarget */ var game = { /** * !#en Event triggered when game hide to background. * Please note that this event is not 100% guaranteed to be fired on Web platfor...
[FIX] Node: setRotation() moves opposite when node has a physics body [FIX] Node: Can not use Node::setPhysicsBody to reset a physics body [FIX] Object: Object -> Ref, and remove unneeded functions [FIX] Other: Removes samples except testcpp|testjavascript|testlua. Moves sample game...