Creates a new rectangle with offsets.
var rect = RectOffset (0, 10, 0, 10);
using UnityEngine; using System.Collections; public class Example : MonoBehaviour { public RectOffset rect = new RectOffset(0, 10, 0, 10); }
import UnityEngine import System.Collections public class Example(MonoBehaviour): public rect as RectOffset = RectOffset(0, 10, 0, 10)