private void Awake() { GameObject interactionTextGO = Instantiate(textModel); interactionTextGO.transform.SetParent(interactionTextContainer); interactionTextGO.transform.localScale = new Vector3(1, 1, 1); interactionText = interactionTextGO.GetComponent <InteractionText>(); ended = true; }
private void Start() { myInteractionText = FindObjectOfType <InteractionText>(); }