Bueno inicio con la solucion a un problema de ajustar la textura a cualquier resolucion de dispositivo.
using UnityEngine;
using System.Collections;
public class AjustarTextura : MonoBehaviour {
SpriteRenderer sr;
// Use this for initialization
void Start () {
sr = GetComponent<SpriteRenderer> ();
transform.localScale=new Vector3(1,1,1);
float width=sr.sprite.bounds.size.x;
float height=sr.sprite.bounds.size.y;
float worldScreenHeight=Camera.main.orthographicSize*2f;
float worldScreenWidth=worldScreenHeight/Screen.height*Screen.width;
Vector3 xWidth = transform.localScale;
xWidth.x=worldScreenWidth / width;
transform.localScale=xWidth;
Vector3 yHeight = transform.localScale;
yHeight.y=worldScreenHeight / height;
transform.localScale=yHeight;
}
// Update is called once per frame
void Update () {
}
}
Espero sea de ayuda y si hay alguna forma mejor de hacerlo espero comentarios.