Size that the occlusion area will have.
using UnityEngine; using System.Collections;
[RequireComponent(typeof(OcclusionArea))] public class ExampleClass : MonoBehaviour { void Example() { transform.GetComponent<OcclusionArea>().size = new Vector3(10, 20, 30); } }