Debug.tscn 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. [gd_scene load_steps=2 format=2]
  2. [ext_resource path="res://addons/admob/src/core/components/Debug.gd" type="Script" id=1]
  3. [node name="Debug" type="VBoxContainer"]
  4. margin_right = 40.0
  5. margin_bottom = 40.0
  6. script = ExtResource( 1 )
  7. [node name="TabContainer" type="TabContainer" parent="."]
  8. margin_right = 151.0
  9. margin_bottom = 582.0
  10. tab_align = 0
  11. [node name="General" type="VBoxContainer" parent="TabContainer"]
  12. visible = false
  13. anchor_right = 1.0
  14. anchor_bottom = 1.0
  15. margin_left = 4.0
  16. margin_top = 32.0
  17. margin_right = -4.0
  18. margin_bottom = -4.0
  19. [node name="TestEuropeUserConsent" type="CheckBox" parent="TabContainer/General"]
  20. margin_right = 193.0
  21. margin_bottom = 24.0
  22. text = "Test Europe User Consent"
  23. __meta__ = {
  24. "_edit_use_anchors_": false
  25. }
  26. [node name="Release" type="VBoxContainer" parent="TabContainer"]
  27. anchor_right = 1.0
  28. anchor_bottom = 1.0
  29. margin_left = 4.0
  30. margin_top = 32.0
  31. margin_right = -4.0
  32. margin_bottom = -4.0
  33. [node name="DebugOnRelease" type="CheckBox" parent="TabContainer/Release"]
  34. margin_right = 143.0
  35. margin_bottom = 24.0
  36. text = "Debug on Release"
  37. [node name="IsReal" type="CheckBox" parent="TabContainer/Release"]
  38. margin_top = 28.0
  39. margin_right = 143.0
  40. margin_bottom = 52.0
  41. disabled = true
  42. pressed = true
  43. text = "Is Real"
  44. [node name="Advice" type="Label" parent="TabContainer/Release"]
  45. margin_top = 56.0
  46. margin_right = 143.0
  47. margin_bottom = 546.0
  48. text = "Advice: `Is Real` will ALWAYS be true unless `Debug on Release` is true.
  49. So if `Debug on Release` is true it will consider the value of `Is Real` on this page when the game is exported as \"Release\".
  50. In other words, you don't need to change anything on this page as it may cause bugs in your app once it's in the store.
  51. Note: The `Test Europe User Consent` button even if it is true, when the application goes to production, that value will be false IF `Debug on Release` is false."
  52. autowrap = true
  53. [connection signal="pressed" from="TabContainer/General/TestEuropeUserConsent" to="." method="_on_TestEuropeUserConsent_pressed"]
  54. [connection signal="pressed" from="TabContainer/Release/DebugOnRelease" to="." method="_on_DebugOnRelease_pressed"]
  55. [connection signal="pressed" from="TabContainer/Release/IsReal" to="." method="_on_IsReal_pressed"]