Exemplo n.º 1
0
    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;
    }
Exemplo n.º 2
0
 private void Start()
 {
     myInteractionText = FindObjectOfType <InteractionText>();
 }