23 lines
413 B
C#
23 lines
413 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
public class interTogglecheck : FlowInterObjectBase
|
|
{
|
|
public Toggle toggle;
|
|
|
|
// Start is called before the first frame update
|
|
|
|
private void Start()
|
|
{
|
|
toggle.onValueChanged.AddListener(onclick);
|
|
}
|
|
public void onclick(bool change) {
|
|
|
|
½»»¥Íê³É = true;
|
|
|
|
|
|
|
|
}
|
|
}
|