mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-01 07:42:38 +08:00
51366f3b9c
* add lod metrics * add inspector add component metrics * add Particle metrics * add particle metrics * add * remove conflict metrics
11 lines
214 B
JavaScript
11 lines
214 B
JavaScript
exports.trackEventWithTimer = function(category, id, value = 1) {
|
|
if (!category || !id) {
|
|
return;
|
|
}
|
|
Editor.Metrics._trackEventWithTimer({
|
|
category,
|
|
id,
|
|
value,
|
|
});
|
|
};
|