PlatformManager.cs 503 B

1234567891011121314151617181920212223
  1. namespace GFGGame
  2. {
  3. public class PlatformManager
  4. {
  5. public static void InitPlatform()
  6. {
  7. switch(GameConfig.PlatformName)
  8. {
  9. case PlatformName.TapTap:
  10. PlatformTapManager.Instance.InitSDK();
  11. break;
  12. }
  13. }
  14. public static bool IsTaptap
  15. {
  16. get
  17. {
  18. return GameConfig.PlatformName == PlatformName.TapTap;
  19. }
  20. }
  21. }
  22. }