In v3.0, we removed the Event.EventCustom class. Bubble delivery will pass the event from the initiating node continually on to its parent node, until the root node is reached or an interrupt event.propagationStopped true is made in the response function of a node. System events follow the general register method, developers can register event listener not only by using the enumeration type but also by using the event name directly, the definition for the event name follows DOM event standards. Quickly understand and visualize data derived from omics experiments, such as RNA-seq, small RNA-seq, microarrays including miRNA and SNP, metabolomics. In Cocos Creator's event delivery system, bubble delivery is used. For keyboard and device motion events, they are dispatched as Global System Events by cc.systemEvent. customEventData String Custom Event Data, such as eventType in example. Get the competitive edge for AI, data center, business computing solutions & gaming with AMD processors, graphics, FPGAs, Adaptive SOCs, & software. This document will mainly discuss the usage of touch and mouse events which is dispatched by related cc.Node. Contribute to cocos-creator/creator-api-docs-2.x development by creating an. This file will introduce the system events related to Node hierarchy.Ĭocos Creator supports four types of system events: mouse, touch, keyboard, device motion. Listen to events can be registered by the function (). Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java. Components can register and monitor events by visiting the node this.node. Based on this mechanism, we provide some basic system events. Straive is a market leading Content, Data and e-learning/Ed-Tech solutions company providing Research & Education content creation services, e-learning. Cocos Creator Cocos2d-x Version: 2.4 Listen to and launch events Listen to events Event processing is done in the cc.Node. Event.EventCustom Cocos Creator Event. Exploration and Visualization Cartography and Design Imagery Analytics and Data Science Data Management Share Your Work Customize and Create Launch New. As stated in the last file, cc.Node has a whole set of event listener and dispatch mechanisms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |