void onTouchEvent(string obj) { Buy.name = items.Item.ToString(); if (obj == Buy.name) { if (TouchController.collider.tag != "Utilits") { CreateController.shareCreate().createBuyLevelUp(this); } else { CreateController.shareCreate().createBuyUtilits(this); } } }
void goToSceneStore() { CreateController.shareCreate().createScene(this.nameScene); Destroy(this.gameObject); }
public static void noMoney() { CreateController.shareCreate().createWarningCoin(); }