Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

zigglr

Member
  • Content Count

    31
  • Joined

  • Last visited

Community Reputation

0 Neutral

About zigglr

  • Rank
    Member

Profile Information

  • Gender
    Not Telling
  • Location:
    UK
  1. Hi, I am making an app for iOS / Android which will involve user accounts and online interaction. However, i'm worried because in order to determine which user it is when interacting with the database, I currently use Playerprefs for the user id. Is it possible that someone can decompile the APK and hack the Playerprefs to change their user id playerpref? Because if so then they would be able to act as other users and mess with their accounts
  2. It returns null, I think it's known this doesn't work anymore
  3. I am using Application.systemLanguage to determind the user's country by seeing what language their phone uses, however, it returns 'English' no matter if they live in US, UK, New Zealand or Australia. Anyone know how you can show these? Thanks
  4. Hi all, I was wondering if someone knows how to get the user's country on iOS and Android? Thanks
  5. Hi, please could you elaborate on what you mean by 'windows'? How do I add this? Thanks
  6. Hi, I am working on the menu page of my Unity app. I have a menu bar at the bottom, and a scroll rect. The contents of the scroll rect goes underneath the menu bar as is passes it. The problem is, If I click an item on the menu bar, it will load the option that's underneath the menu bar instead. Here is a screenshot of what I mean: Any way to solve this? Thanks
  7. Yes but the problem is i'm loading the image from a URL
  8. Hi, I'm trying to the Sprite of a gameobject using a Texture2D, however the sprite won't change. public string url; IEnumerator Start() { url = PlayerPrefs.GetString("profilepicurl"); WWW www = new WWW(url); yield return www; Texture2D texturez = www.texture; Sprite image = Sprite.Create(texturez, new Rect(0, 0, texturez.width, texturez.height), new Vector2(2f, 2f), 100); GetComponent<SpriteRenderer>().sprite = image; } All I get is this: http://postimg.org/image/8gc7obfc1/ Anyone know where i'm going wrong? Thanks
  9. zigglr

    Live chat in Unity?

    Hi, I am making a mobile app that will have a live text chat feature, similar to facebook messenger. I am wondering what the best way to do this would be? Would simply using a MySQL server and PHP to insert messages into the database and then retrieve the message work? Would this be fast enough and scalable for thousands of users? The messages would need to be stored for a few weeks. Thanks
  10. I was wondering if anyone knows how to remove the splash screen in Unity personal edition for mobile? Or if not, how I can change the image to my own one? Would this work: http://armedunity.com/files/file/63-splash-screen/ ? Thanks
  11. Hi thanks for you answer. I decided to just use a list to do this
  12. a b c d and e are different powers and the user can enable or disable any of them that they don't want to use. When they enter the trigger a random power is chosen, but if one of the powers is disabled then it won't every be chosen
  13. Before the game starts, the player has 5 preferences, a b c d and e, and he can enable and disable as many as he wants. For example a - enabled b - disabled c- enabled d - enabled e - disabled When the player enters a trigger, a random preference (a b c d or e) is chosen. If the preference is disabled, this preference won't be put into the random choice. Since there are so many different combinations the user can have, is there a simple way to do this other than writing out every single possible combination that the user may have chosen? I know I will use ontriggerenter and Random.Range, but not sure where to go from there Thanks
  14. But can't I just use SystemInfo.deviceUniqueIdentifier It says it's guaranteed to be unique for every device
×
×
  • Create New...