Exemplo n.º 1
0
    // Use this for initialization
    void Awake()
    {
        UIscript = refInterface.GetComponent<UI_Scripting>();

        continueGroup = transform.Find("TOBECONTINUED").gameObject.GetComponent<CanvasGroup>();
        thanksGroup = transform.Find("THANKSFORPLAYING").gameObject.GetComponent<CanvasGroup>();
    }
Exemplo n.º 2
0
 // Use this for initialization
 void Awake()
 {
     UIScript = UI.GetComponent<UI_Scripting>();
     SoundPlayer = GetComponent<AudioSource>();
     playerCamera = transform.Find("FirstPersonCharacter").gameObject.GetComponent<Camera>();
 }
Exemplo n.º 3
0
    // Use this for initialization
    void Start()
    {
        UIscript = refInterface.GetComponent<UI_Scripting>();
        presentsGroup = transform.Find("PRESENTS").gameObject.GetComponent<CanvasGroup>();
        titleGroup = transform.Find("TITLE").gameObject.GetComponent<CanvasGroup>();
        madebyGroup = transform.Find("MADEBY").gameObject.GetComponent<CanvasGroup>();
        soundGroup = transform.Find("SOUND").gameObject.GetComponent<CanvasGroup>();

        //--------------------------------------------------
        //ONLY FOR TEST PURPOSES
        //--------------------------------------------------
        if (enabled) {
            LaunchIntroSequence ();
        }
        //--------------------------------------------------
        //ONLY FOR TEST PURPOSES
        //--------------------------------------------------
    }