public Vector3 center ;

Description

Center of the occlusion area relative to the transform.

using UnityEngine;
using System.Collections;

[RequireComponent(typeof(OcclusionArea))] public class ExampleClass : MonoBehaviour { void Example() { transform.GetComponent<OcclusionArea>().center = Vector3.zero; } }