// 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!" }; }
// 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(); }
// 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>(); }
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(); }
// 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>(); }