Beispiel #1
0
    void Awake()
    {
        mySceneCatalogue      = GameObject.FindObjectOfType <SceneCatalogue>();
        myDialogueManager     = GameObject.FindObjectOfType <DialogueManager>();
        myConversationTracker = GameObject.FindObjectOfType <ConversationTracker>();
        //myGameState = GameObject.FindObjectOfType<GameState>();
        //myAnimationMaestro = GameObject.FindObjectOfType<AnimationMaestro>();
        myEventQueue      = GameObject.FindObjectOfType <EventQueue>();
        myMapCartographer = GameObject.FindObjectOfType <MapCartographer>();
        //myTimeLord = GameObject.FindObjectOfType<Timelord>();

        runTestButton             = GameObject.Find("RunTestButton").GetComponent <Button>();
        runConversationTestButton = GameObject.Find("ConversationButton").GetComponent <Button>();
        locationCheckButton       = GameObject.Find("LocationCheck").GetComponent <Button>();
        testResultsText           = GameObject.Find("TestResults").GetComponent <Text>();
    }
Beispiel #2
0
    // Use this for initialization
    void Start()
    {
        myUIManager             = GameObject.FindObjectOfType <UIManager>();
        myDialogueManager       = GameObject.FindObjectOfType <DialogueManager>();
        myTimeLord              = GameObject.FindObjectOfType <Timelord>();
        mySceneCatalogue        = GameObject.FindObjectOfType <SceneCatalogue>();
        myConversationTracker   = GameObject.FindObjectOfType <ConversationTracker>();
        myMapCartographer       = GameObject.FindObjectOfType <MapCartographer>();
        myAudioConductor        = GameObject.FindObjectOfType <AudioConductor>();
        myRelationshipCounselor = GameObject.FindObjectOfType <RelationshipCounselor>();
        myVictoryCoach          = GameObject.FindObjectOfType <VictoryCoach>();
        myTipManager            = GameObject.FindObjectOfType <TipManager>();
        myAnimationMaestro      = GameObject.FindObjectOfType <AnimationMaestro>();

        timeAdvanceButton         = GameObject.Find("TimeButton").GetComponent <Button>();
        toggleInteriorSceneButton = GameObject.Find("DateLocationButton").GetComponent <Button>();
    }