LoginSignup
0
0

More than 5 years have passed since last update.

EZGUIのUIButtomをdisableにする

Last updated at Posted at 2013-06-22
ChangeButton.cs
using UnityEngine;
using System.Collections;

public class ChangeButton : MonoBehaviour {

    public GameObject gameObject;
    private UIButton thisUIButton;

    void  Awake () {
        thisUIButton = GetComponent <UIButton>();
        thisUIButton.controlIsEnabled = false;
    }

    // Use this for initialization
    void Start () {

    }

    // Update is called once per frame
    void Update () {

    }
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0