Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     selectManager = GameObject.Find("SelectManager").GetComponent <SelectManager>();
     musicPlay     = GameObject.Find("ListUpManager").GetComponent <ListUpManager>();
     selectButton  = GetComponent <Button> ();
     root          = selectButton.transform.parent.gameObject;
     selectButton.onClick.AddListener(() => {
         GoToPlay();
     });
 }
Ejemplo n.º 2
0
 // Use this for initialization
 void Start()
 {
     previewFlag      = false;
     manager          = GameObject.Find("ListUpManager").GetComponent <ListUpManager> ();
     informationPanel = GameObject.Find("InformationPanel");
     informationPanel.GetComponent <CanvasGroup> ().alpha = 0;
     musicButton = GetComponent <Button> ();
     musicButton.onClick.AddListener(() => {
         UpdateInformation();
     });
 }
Ejemplo n.º 3
0
    void OnEnable()
    {
        this.gameObject.GetComponent <Image> ().sprite = SlidePicture [0];
        nowNo = 0;
        backSelect.gameObject.SetActive(false);
        goTutorial.gameObject.SetActive(false);
        key = true;

        musicPlay     = GameObject.Find("ListUpManager").GetComponent <ListUpManager>();
        selectManager = GameObject.Find("SelectManager").GetComponent <SelectManager>();
    }