// Use this for initialization void Start() { // playerCam = GameObject.Find("MainCamera"); astro = playerCam.GetComponent <SelectAstro>(); // puerta= GameObject.Find("Puerta"); // rb=puerta.GetComponent<Rigidbody>(); isInPosition = false; }
// Use this for initialization void Start() { selectAstro = player.GetComponent <SelectAstro>(); wiu = false; }