void Start() { myEventQueue = GameObject.FindObjectOfType <EventQueue>(); myConversationTracker = GameObject.FindObjectOfType <ConversationTracker>(); startingSceneNumber = 7; isInInteriorScene = true; // Start Player out in apartment }
// 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(); }
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>(); }
// 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>(); }
void Start() { myDialogueManager = GameObject.FindObjectOfType <DialogueManager>(); myTimelord = GameObject.FindObjectOfType <Timelord>(); myConversationTracker = GameObject.FindObjectOfType <ConversationTracker>(); myRelationshipCounselor = GameObject.FindObjectOfType <RelationshipCounselor>(); myAnimationMaestro = GameObject.FindObjectOfType <AnimationMaestro>(); myInputOrganizer = GameObject.FindObjectOfType <InputOrganizer>(); myEventQueue = GameObject.FindObjectOfType <EventQueue>(); dialogueButtonPanel = GameObject.Find("DialogueButtonPanel"); dialogueOptionsPanel = GameObject.Find("DialogueOptionsButtonPanel"); dateLocationButtonPanel = GameObject.Find("LocationButtonPanel"); mainPanelButtonsPanel = GameObject.Find("MainPanelButtonsPanel"); dateButtonsPanel = GameObject.Find("DateButtonsPanel"); sequenceButtonsPanel = GameObject.Find("SequenceButtonsPanel"); dateLocationButton = GameObject.Find("DateLocationButton"); menuPanel = GameObject.Find("MenuPanel"); cutScenePanel = GameObject.Find("CutScenePanel"); characterPanel = GameObject.Find("CharacterPanel"); startScreenPanel = GameObject.Find("StartScreenPanel"); textPanel = GameObject.Find("TextPanel").GetComponentInChildren <Text>(); pastDatesText = GameObject.Find("PastDates").GetComponentInChildren <Text>(); upcomingDatesText = GameObject.Find("UpcomingDates").GetComponentInChildren <Text>(); experiencesText = GameObject.Find("ExperiencesList").GetComponentInChildren <Text>(); dateActionButton = GameObject.Find("DateActionButton"); askOnDateButton = GameObject.Find("AskOut"); mapButton = GameObject.Find("MapButton"); talkButtonObject = GameObject.Find("TalkButton"); timeAdvanceButton = GameObject.Find("TimeButton").GetComponent <Button>(); toggleInteriorSceneButton = GameObject.Find("DateLocationButton").GetComponent <Button>(); myEventQueue.subscribe(this); mapEnabled = false; journalEnabled = false; menuPanel.gameObject.SetActive(false); dateLocationButtonPanel.SetActive(false); myAnimationMaestro.clearPotentialPartners(); }