// Use this for initialization void Start() { Instance = this; dialogueO = GameObject.FindGameObjectWithTag("chatObject"); dialogue = dialogueO.GetComponent<DrewDialogueScript>(); playerO = GameObject.FindGameObjectWithTag("Player"); player = playerO.GetComponent<DrewPlayer>(); onMission = true; endMission = true; getMission = false; }
// Use this for initialization void Start() { Instance = this; dialogueObject = GameObject.FindGameObjectWithTag("chatObject"); dialogue = dialogueObject.GetComponent<DrewDialogueScript>(); animation = this.GetComponent<AnimationScript>(); direction = this.transform.position; camera.transform.position = new Vector3(0,80,-10); inMission = talking = false; Missions = new bool [10]; for (int i= 0; i < 9; i++) { Missions[i] = false; } }
// Use this for initialization void Start() { Instance = this; playerObject = GameObject.FindGameObjectWithTag("Player"); player = playerObject.GetComponent<DrewPlayer>(); start = end = current = 0; message = "Hey, would you like to come to my friends party tonight."; }