コード例 #1
0
//	public Transform BackGround;
//	public float distance;
//	public Vector3 backgroundPos;

    void Start()
    {
        instance = this;
        UISprite background = instance.transform.GetChild(0).GetComponent <UISprite>();

        scrollScenes     = GetComponentsInChildren <ScrollScene>();
        background.depth = -1;
    }
コード例 #2
0
 void Start()
 {
     scrollScenes = GetComponentsInChildren <ScrollScene>();
     instance     = this;
 }