예제 #1
0
파일: Tube.cs 프로젝트: Dotby/ARChemistre
    // Use this for initialization
    void Start()
    {
        player = gameObject.AddComponent<AudioSource>();
        player.playOnAwake = false;

        _PAGE = gameObject.transform.root.gameObject.GetComponent<ChemistryPage>();
        pointer.SetActive(false);
    }
예제 #2
0
    void Start()
    {
        //	foreach(GameObject rb in activeObjects){
        //	rb.GetComponent<Rigidbody>().isKinematic = true;
        //}

        _PC = GetComponent<ChemistryControl>();
        _PAGE = _PC.activePage;
    }