// Use this for initialization void Start() { UISprite sprite = this.gameObject.GetComponent <UISprite>(); sprite.MakePixelPerfect(); scene = (SandboxScene)GameObject.FindObjectOfType(typeof(SandboxScene)); }
// Use this for initialization void Start() { scene = (SandboxScene)GameObject.FindObjectOfType(typeof(SandboxScene)); }
// Use this for initialization void Start() { UISprite sprite = this.gameObject.GetComponent<UISprite>(); sprite.MakePixelPerfect(); scene = (SandboxScene)GameObject.FindObjectOfType(typeof(SandboxScene)); }