Skip to content

Instantly share code, notes, and snippets.

@maco1028
Created May 7, 2017 08:52
Show Gist options
  • Save maco1028/97eadbbb8fc2f20a4f4c27b0732b9f83 to your computer and use it in GitHub Desktop.
Save maco1028/97eadbbb8fc2f20a4f4c27b0732b9f83 to your computer and use it in GitHub Desktop.
表示非表示2
public GameObject[] Num_spline = new GameObject[10];
public bool parchk=true;
void Start () {
}
void Update () {
if (Input.GetMouseButtonDown(0)) {
parchk = !parchk;
Num_spline[0].SetActive (parchk);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment