Beispiel #1
0
 void Start()
 {
     //store temporary variable time in the DateTime Now property
     time = DateTime.Now;
     dialogueSource = GameObject.Find ("Dialogue Engine Chapel Object");
     externalScript = dialogueSource.GetComponent<dialogueEngineChapel>();
     trigSceneF = GameObject.Find("Trigger F");
     scriptTrigSceneF = trigSceneF.GetComponent<dialogueTriggerF>();
 }
    // Use this for initialization
    void Start()
    {
        theEngineChapel = GameObject.Find ("Dialogue Engine Chapel Object");
        externalScriptChapel = theEngineChapel.GetComponent<dialogueEngineChapel>();
        isColliding = false;
        sceneStarted = false;
        activeTrigger = false;

        exitDoorScript = GameObject.Find ("OpenDoorTrigger").GetComponent<OpenDoorScript>();
    }
    // Use this for initialization
    void Start()
    {
        theEngineChapel = GameObject.Find ("Dialogue Engine Chapel Object");
        externalScriptChapel = theEngineChapel.GetComponent<dialogueEngineChapel>();
        isColliding = false;
        sceneStarted = false;
        activeTrigger = true;

        clockObj = GameObject.Find ("Clock");
        clockScript = clockObj.GetComponent<ClockAnimator>();
    }