Skip to content

Commit 4be153c

Browse files
committed
Rename consoleText
1 parent 95eafe9 commit 4be153c

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

poolakeyunitysdk-unity/Assets/Bazaar/Poolakey/Demo/Scripts/PoolakeyExample.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
public class PoolakeyExample : MonoBehaviour
1010
{
1111
[SerializeField] private Vehicle vehicle;
12-
[SerializeField] private List<Product> products;
13-
[SerializeField] private ShopItem shopItemTemplate;
14-
[SerializeField] private RTLTextMeshPro ConsoleText;
1512
[SerializeField] private GameObject waitingPanel;
13+
[SerializeField] private ShopItem shopItemTemplate;
14+
[SerializeField] private RTLTextMeshPro consoleText;
15+
[SerializeField] private List<Product> products;
1616

1717
private Payment payment;
1818
private Dictionary<string, ShopItem> shopItems;
@@ -153,7 +153,8 @@ private async void Consume(PurchaseInfo purchaseInfo)
153153

154154
public void Log(string message)
155155
{
156-
ConsoleText.text = ConsoleText.OriginalText + message + "\n";
156+
consoleText.text = consoleText.OriginalText + message + "\n";
157+
Debug.Log(message);
157158
}
158159

159160
void OnApplicationQuit()

0 commit comments

Comments
 (0)