Version: 2017.3
public Vector3 center ;

Descripción

El centro de la área de oclusión relativa al transform.

using UnityEngine;
using System.Collections;

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