예제 #1
0
    private void Awake()
    {
        l = GameObject.Find("S&L").GetComponent <L_>();
        s = GameObject.Find("S&L").GetComponent <S_>();

        me = GetComponent <Button>();

        if (!l.loadMarblesID.Contains(IDCalibration))
        {
            gameObject.SetActive(false);
        }
    }
예제 #2
0
파일: Store.cs 프로젝트: jalin0315/030
    void Awake()
    {
        l = GameObject.Find("S&L").GetComponent <L_>();
        s = GameObject.Find("S&L").GetComponent <S_>();

        money = int.Parse(Money.text);
        me    = GetComponent <Button>();

        foreach (var marbles in l.loadMarblesID)
        {
            if (marbles == IDCalibration)
            {
                me.interactable = false;
            }
        }
    }
예제 #3
0
파일: L_.cs 프로젝트: jalin0315/030
    public void Start()
    {
        if (instance == null)
        {
            instance = this;
        }
        //else if (instance != this)
        //{
        //    enabled = false;
        //}

        if (S_L.isOpen)
        {
            善良();
        }
    }
예제 #4
0
 void Start()
 {
     l = GameObject.Find("S&L").GetComponent <L_>();
     wait.SetActive(false);
 }
예제 #5
0
 private void Start()
 {
     isOpen = true;
     s      = GameObject.Find("S&L").GetComponent <S_>();
     l      = GameObject.Find("S&L").GetComponent <L_>();
 }