using System.Collections; using System.Collections.Generic; using UnityEngine; public class PlaneBtn : MonoBehaviour { public bool state; public void OnClick( bool state) { this.state = state; } }