Example #1
0
    void Start()
    {
        GameObject a = GameObject.Find("02_Box_Maker");

        if (a != null)
        {
            _BL = a.GetComponent <Box_Loop>();
        }
        GameObject b = GameObject.Find("01_Sky");

        if (b != null)
        {
            _SM = b.GetComponent <Scroll_Mapping>();
        }

        GameSpeed = _BL.Speed;
        SCREENSETTING();
    }
Example #2
0
    void Start()
    {
        GameObject a = GameObject.Find("02_Box_Maker");
        if(a!=null)_BL = a.GetComponent<Box_Loop>();
        GameObject b = GameObject.Find("01_Sky");
        if(b!=null)_SM = b.GetComponent<Scroll_Mapping>();

        GameSpeed = _BL.Speed;
        SCREENSETTING ();
    }