Version: 2017.2
public Vector3 center ;

説明

中心を設定する

using UnityEngine;
using System.Collections;

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