自分で解決しました。ありがとうございます
Unity 2019.2.10f1
アセット Unity宴 (最新)
Camera Filter Pack (最新)
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Utage;
public class objectOC : MonoBehaviour
{
public AdvEngine engine;
[Header("開きたいゲームオブジェクト")]
public GameObject Object;
int Fkamera = 0;
// Start is called before the first frame update
void Start()
{
Object.SetActive(false);
}
// Update is called once per frame
void Update()
{ // 宴変数呼び出し
int param = (int)engine.Param.GetParameterInt("Fkamera");
//objectのONOFF
if (Fkamera > 0)
{
Object.SetActive(false);
}
else
{
Object.SetActive(true);
}
}
}