BridgeClass.cs 548 B

1234567891011121314151617181920212223242526272829
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using System;
  4. using UnityEngine;
  5. /*
  6. * 这是一个 数据中转
  7. * 关于SDK的访问在这里完成
  8. * 方便SDK删除后 造成的代码崩溃
  9. */
  10. public class BridgeClass
  11. {
  12. private static BridgeClass _instance;
  13. public static BridgeClass Instance
  14. {
  15. get {
  16. if(_instance == null)
  17. {
  18. _instance = new BridgeClass();
  19. }
  20. return _instance;
  21. }
  22. }
  23. private BridgeClass()
  24. {
  25. }
  26. }