private void purchaseGas() { if (!Application.isEditor) { if (gasProgress < 1) { statusMsg = "Purchasing GAS..."; GamedoniaStore.BuyProduct("gas"); } else { printToConsole("Already full of gas!, drive to spent some"); } } else { printToConsole("Purchase is disabled in Editor mode!!"); } }
public void BuyProduct() { //GamedoniaStore.RequestProducts(consumable_products, consumable_products.Length); GamedoniaStore.BuyProduct("m_lives"); }