Пример #1
0
    void Start()
    {
        mySceneCatalogue = GameObject.FindObjectOfType <SceneCatalogue>();

        textPanel        = GameObject.Find("TextPanel").GetComponentInChildren <Text>();
        dateActionButton = GameObject.Find("DateActionButton");
    }
Пример #2
0
    // Use this for initialization
    void Start()
    {
        myVictoryCoach   = GameObject.FindObjectOfType <VictoryCoach>();
        mySceneCatalogue = GameObject.FindObjectOfType <SceneCatalogue>();
        myCommandBuilder = GameObject.FindObjectOfType <CommandBuilder>();

        tips = new List <string>();
        tips.Add("Try and figure out a girl's preferred location before asking them out. The chance to have a rewarding date will increase!");
        tips.Add("I'll reveal more locations on the map, the more experiences you have, so visit often!");
        tips.Add("Make sure not to linger in one location for too long. Peope will get creeped out and force you to leave.");

        locationReveals = new List <string>();
        locationReveals.Add("Have you visited the %location% yet?");
        locationReveals.Add("I heard that the %location% %verb% beautiful this time of year.");
        locationReveals.Add("Don't go to the %location%!");

        introText = new List <string>()
        {
            "Sitting at home is comfortable!",
            "But something needs to change.....",
            "...............",
            "It's time to get out there and meet someone!.. Building a strong relationship with them over time will create a whole new side of me..",
            "...Connecting with them will change the way I see everything.",
            "...........",
            "....",
            "The problem with that is, the more time I spend with someone, the greater the chance there is of them falling in love with me.\nAnd as soon as that happens, I can't help but fall in love back!!",
            "Unfortunatley for me, love never works out. Every time I fall in love, eventually it ends (for one reason or another), and I'm left heartbroken and devastated.",
            "...........",
            "But I have to get out there. I have to gain those life changing experiences that only a relationship can bring.",
            "And I have to do it without spending too much time with any one person. Until I'm ready, I can't let anyone fall in love with me!",
            "....",
            "I could start by making it to work on time. Let's go!"
        };
    }
Пример #3
0
    // Use this for initialization
    void Start()
    {
        myVictoryCoach        = GameObject.FindObjectOfType <VictoryCoach>();
        myDialogueManager     = GameObject.FindObjectOfType <DialogueManager>();
        mySceneCatalogue      = GameObject.FindObjectOfType <SceneCatalogue>();
        myConversationTracker = GameObject.FindObjectOfType <ConversationTracker>();

        rn = new System.Random();
    }
Пример #4
0
 // Use this for initialization
 void Start()
 {
     timeStep          = 0;
     myDialogueManager = GameObject.FindObjectOfType <DialogueManager>();
     mySceneCatalogue  = GameObject.FindObjectOfType <SceneCatalogue>();
     myCommandBuilder  = GameObject.FindObjectOfType <CommandBuilder>();
     myUIManager       = GameObject.FindObjectOfType <UIManager>();
     myVictoryCoach    = GameObject.FindObjectOfType <VictoryCoach>();
 }
Пример #5
0
 private void Awake()
 {
     remainingExperiences = new Dictionary <string, Experience>();
     achievedExperiences  = new List <Experience>();
     myCommandBuilder     = GameObject.FindObjectOfType <CommandBuilder>();
     mySceneCatalogue     = GameObject.FindObjectOfType <SceneCatalogue>();
     myDialogueManager    = GameObject.FindObjectOfType <DialogueManager>();
     myTimeLord           = GameObject.FindObjectOfType <Timelord>();
     myEventQueue         = GameObject.FindObjectOfType <EventQueue>();
 }
Пример #6
0
    // Use this for initialization
    void Start()
    {
        myMapPanel = GameObject.Find("MapPanel");

        mySceneCatalogue = GameObject.FindObjectOfType <SceneCatalogue>();
        myInputOrganizer = GameObject.FindObjectOfType <InputOrganizer>();

        createLocationButtons();

        mySceneCatalogue.Subscribe(this);
    }
    void Start()
    {
        scheduledDates     = new List <Date>();
        myTimelord         = GameObject.FindObjectOfType <Timelord>();
        mySceneCatalogue   = GameObject.FindObjectOfType <SceneCatalogue>();
        myUIManager        = GameObject.FindObjectOfType <UIManager>();
        myVictoryCoach     = GameObject.FindObjectOfType <VictoryCoach>();
        myGameState        = GameObject.FindObjectOfType <GameState>();
        myEventQueue       = GameObject.FindObjectOfType <EventQueue>();
        myAnimationMaestro = GameObject.FindObjectOfType <AnimationMaestro>();
        myAudioConductor   = FindObjectOfType <AudioConductor>();

        ConstructDateLikelihoods();
    }
Пример #8
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>();
    }
Пример #9
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>();
    }
Пример #10
0
    void Start()
    {
        myTimeLord              = GameObject.FindObjectOfType <Timelord>();
        mySceneCatalogue        = GameObject.FindObjectOfType <SceneCatalogue>();
        myRelationshipCounselor = GameObject.FindObjectOfType <RelationshipCounselor>();
        myGameState             = GameObject.FindObjectOfType <GameState>();
        myCommandBuilder        = GameObject.FindObjectOfType <CommandBuilder>();
        myTipManager            = GameObject.FindObjectOfType <TipManager>();
        myEventQueue            = GameObject.FindObjectOfType <EventQueue>();

        this.allDateableCharacters = new List <DateableCharacter>(this.GetComponents <DateableCharacter>());
        this.allMinorCharacters    = new List <MinorCharacter>(this.GetComponents <MinorCharacter>());

        myEventQueue.subscribe(this);
        initializeAllCharacters();
        this.disburseCharacters(charactersToInclude: allCharacters, characterNamesToExclude: new List <string> {
            "kristie", "evan"
        });
    }
Пример #11
0
 void Awake()
 {
     mySceneCatalogue = GameObject.FindObjectOfType <SceneCatalogue>();
     myGameState      = GameObject.FindObjectOfType <GameState>();
 }
Пример #12
0
 // Use this for initialization
 void Start()
 {
     backgroundLocation = GameObject.Find("BackgroundLocation").GetComponentInChildren <Image>();
     myTimeLord         = GameObject.FindObjectOfType <Timelord>();
     mySceneCatalogue   = GameObject.FindObjectOfType <SceneCatalogue>();
 }