private Texture2D LogoTextureForStudio(StudioHandle myHandle) { switch (myHandle) { case StudioHandle.AGAITCHESON: return logoAGAITCHESON; case StudioHandle.MOBILEPIE: return logoMOBILEPIE; case StudioHandle.SPILTMILK: return logoSPILTMILK; case StudioHandle.BIGPIXEL: return logoBIGPIXEL; case StudioHandle.INDIESKIES: return logoINDIESKIES; case StudioHandle.FGOL: return logoFGOL; case StudioHandle.ONIMOBI: return logoONIMOBI; default: return null; } }
private string StudioProductFromHandle(StudioHandle myHandle) { string tempString = "Unknown Product"; switch (myHandle) { case StudioHandle.AGAITCHESON: tempString = "Greedy Bankers"; break; case StudioHandle.MOBILEPIE: tempString = "My Star"; break; case StudioHandle.SPILTMILK: tempString = "Hard Lines"; break; case StudioHandle.BIGPIXEL: tempString = "Off the Leash"; break; case StudioHandle.INDIESKIES: tempString = "Paradise Golf"; break; case StudioHandle.FGOL: tempString = "Hungry Shark"; break; case StudioHandle.ONIMOBI: tempString = "Leaf Rider"; break; } return tempString; }
private void OpenProductPageForStudio(StudioHandle myHandle) { //note: currently only directs to iOS page. Change this to detect Android and direct appropriately string tempURL = ""; switch (myHandle) { case StudioHandle.AGAITCHESON: tempURL = "http://itunes.apple.com/gb/app/greedy-bankers-bailout!/id500676882?mt=8"; break; case StudioHandle.MOBILEPIE: tempURL = "http://itunes.apple.com/app/my-star/id422562697"; break; case StudioHandle.SPILTMILK: tempURL = "http://itunes.apple.com/gb/app/hard-lines/id440571567?mt=8"; break; case StudioHandle.BIGPIXEL: tempURL = "http://itunes.apple.com/us/app/off-the-leash/id480125356?mt=8"; break; case StudioHandle.INDIESKIES: tempURL = "http://itunes.apple.com/gb/app/paradise-golf-hd/id479199207?affId=2082346"; break; case StudioHandle.FGOL: tempURL = "http://itunes.apple.com/us/app/hungry-shark-part-3/id408369543?mt=8"; break; case StudioHandle.ONIMOBI: tempURL = "about:blank"; break; } Application.OpenURL(tempURL); }
private string StudioNameFromHandle(StudioHandle myHandle) { string tempString = "Unknown Name"; switch (myHandle) { case StudioHandle.AGAITCHESON: tempString = "Alistair Aitcheson"; break; case StudioHandle.MOBILEPIE: tempString = "Mobile Pie"; break; case StudioHandle.SPILTMILK: tempString = "Spilt Milk Studios"; break; case StudioHandle.BIGPIXEL: tempString = "Big Pixel"; break; case StudioHandle.INDIESKIES: tempString = "Indie Skies"; break; case StudioHandle.FGOL: tempString = "Future Games of London"; break; case StudioHandle.ONIMOBI: tempString = "Onimobi"; break; } return tempString; }
private void OpenHomepageForStudio(StudioHandle myHandle) { string tempURL = ""; switch (myHandle) { case StudioHandle.AGAITCHESON: tempURL = "http://www.alistairaitcheson.com"; break; case StudioHandle.MOBILEPIE: tempURL = "http://www.mobilepie.com"; break; case StudioHandle.SPILTMILK: tempURL = "http://www.spiltmilkstudios.com"; break; case StudioHandle.BIGPIXEL: tempURL = "http://bigpixelstudios.co.uk"; break; case StudioHandle.INDIESKIES: tempURL = "http://www.indieskies.com/"; break; case StudioHandle.FGOL: tempURL = "http://www.futuregamesoflondon.com/"; break; case StudioHandle.ONIMOBI: tempURL = "about:blank"; break; } Application.OpenURL(tempURL); }