// Use this for initialization void Start() { player = gameObject.AddComponent<AudioSource>(); player.playOnAwake = false; _PAGE = gameObject.transform.root.gameObject.GetComponent<ChemistryPage>(); pointer.SetActive(false); }
void Start() { // foreach(GameObject rb in activeObjects){ // rb.GetComponent<Rigidbody>().isKinematic = true; //} _PC = GetComponent<ChemistryControl>(); _PAGE = _PC.activePage; }