File tree Expand file tree Collapse file tree
poolakeyunitysdk-unity/Assets/Bazaar/Poolakey/Demo/Scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99public 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 ( )
You can’t perform that action at this time.
0 commit comments