コード例 #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
ファイル: HandEmulator.cs プロジェクト: Dotby/ARChemistre
    void Start()
    {
        //	foreach(GameObject rb in activeObjects){
        //	rb.GetComponent<Rigidbody>().isKinematic = true;
        //}

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