mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Remove 3.2.x notes not needed in the 3.3 branch
This commit is contained in:
@@ -53,7 +53,7 @@ singleton and start the connection:
|
||||
func _ready():
|
||||
if Engine.has_singleton("GodotGooglePlayBilling"):
|
||||
payment = Engine.get_singleton("GodotGooglePlayBilling")
|
||||
|
||||
|
||||
# These are all signals supported by the API
|
||||
# You can drop some of these based on your needs
|
||||
payment.connect("connected", self, "_on_connected") # No params
|
||||
@@ -67,7 +67,7 @@ singleton and start the connection:
|
||||
payment.connect("purchase_acknowledgement_error", self, "_on_purchase_acknowledgement_error") # Response ID (int), Debug message (string), Purchase token (string)
|
||||
payment.connect("purchase_consumed", self, "_on_purchase_consumed") # Purchase token (string)
|
||||
payment.connect("purchase_consumption_error", self, "_on_purchase_consumption_error") # Response ID (int), Debug message (string), Purchase token (string)
|
||||
|
||||
|
||||
payment.startConnection()
|
||||
else:
|
||||
print("Android IAP support is not enabled. Make sure you have enabled 'Custom Build' and the GodotGooglePlayBilling plugin in your Android export settings! IAP will not work.")
|
||||
|
||||
Reference in New Issue
Block a user