@cc-component/cc-video 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IVideoParam, IVideoData } from "./base/IVideo";
|
|
2
2
|
|
|
3
|
-
declare
|
|
3
|
+
declare module "cc" {
|
|
4
4
|
namespace VideoModule {
|
|
5
5
|
/**开启日志打印 */
|
|
6
6
|
export function Debug(enabled: boolean);
|
|
@@ -21,6 +21,9 @@ declare global {
|
|
|
21
21
|
/**节点位置适配-自动适配 */
|
|
22
22
|
export function AutoSize()
|
|
23
23
|
}
|
|
24
|
+
}
|
|
25
|
+
declare global {
|
|
26
|
+
|
|
24
27
|
}
|
|
25
28
|
// // 必须在 game.init() 之前设置!
|
|
26
29
|
//macro.ENABLE_TRANSPARENT_CANVAS = true;
|