VibratePhone.ts 406 B

12345678910111213141516171819202122
  1. import { _decorator, Component, Node, Scene, sys } from 'cc';
  2. import { aa } from '../aa';
  3. const { ccclass, property } = _decorator;
  4. export enum VibrateShortType {
  5. heavy = "heavy",
  6. medium = "medium",
  7. light = "light",
  8. }
  9. export class VibratePhone{
  10. // static type = VibrateShortType
  11. // static vibrate(x:VibrateShortType){
  12. // aa.Sdk.vibrateShort({type: x})
  13. // }
  14. }