using UnityEngine; using System.Collections; public class SpriteDebugger : MonoBehaviour { // Use this for initialization void Start () { } // Update is called once per frame void Update () { //var sr = gameObject.GetComponent(); //var s = sr.sprite; //s. } }