Texture Compression with Texture Package
The rule :
DEFAULT CONFIGURATION FOR SCENE
CANVAS SCALER
- SCREEN SPACE – OVERLAY
- SCALE WITH SCREEN SIZE
- 1536X2048
- MATCH WIDTH OR HEIGHT
- MATCH=1
- REFERENCE PPU=1
CAMERA
- SIZE=1024
IMAGE
- PPU=1
EQUATION
PIXELS PER UNIT =(VERTICAL/(ORTHOGRAPHIC SIZE*2))
uk football betting tips and predictions footballtipsbetting.com latest soccer betting tips uk
soccer scores live and football results livecomscores.com live football scores and soccer results
Configuration should be:
Sprite Renderer :
Glow : 32bit
No Glow : Compress ETC 8bit
Canvas :
Glow : 32bit
No Glow : Compress ETC 8bit
Change language in application
A usefull snippet if you want to change the locale of the app without having to go through the settings.
Configuration conf = getResources().getConfiguration(); conf.locale = new Locale(iso3SupportLanguage[position]); DisplayMetrics metrics = new DisplayMetrics(); WindowManager wm = (WindowManager) getActivity().getSystemService(Activity.WINDOW_SERVICE); wm.getDefaultDisplay().getMetrics(metrics); getResources().updateConfiguration(conf, metrics); Resources resources = new Resources(getActivity().getAssets(), metrics, conf); resources.updateConfiguration(conf, metrics);