void Awake() { movement = pc.GetComponent <CharacterMotor> (); message = text.GetComponent <uiSystem> (); cam = holder.GetComponent <cameraScript> (); menu = holder.GetComponent <menuScript> (); }
void Awake() { key = npc.GetComponent <securityBehavior> (); //badge = maria.GetComponent <mariaBehavior> (); badge = picture.GetComponent <pictureScript> (); taken = gui.GetComponent <guiSystem> (); message = text.GetComponent <uiSystem> (); Enemy = enemy.GetComponent <enemyBehavior> (); }
void Awake() { // Variables to hold the scripts on other game objects so that we can manipulate them from this script mouse = pc.GetComponent <MouseLook> (); movement = pc.GetComponent <CharacterMotor> (); cam = Camera.main.GetComponent <MouseLook> (); talk = pc.GetComponent <playerScript> (); menu = holder.GetComponent <menuScript> (); inventory = holder.GetComponent <cameraScript> (); message = text.GetComponent <uiSystem> (); }
void Awake() { message = text.GetComponent <uiSystem> (); if (this.gameObject.name == "badge") { taken = gui.GetComponent <guiSystem> (); } if (Application.loadedLevel == 3) { irma = pc.GetComponent <irmaScript> (); } }
//private pictureScript pic; void Awake() { // Variables to hold the scripts on other game objects so that we can manipulate them from this script mouse = pc.GetComponent <MouseLook> (); //movement = pc.GetComponent <CharacterMotor> (); cam = Camera.main.GetComponent <MouseLook> (); inventory = this.GetComponent <cameraScript> (); message = text.GetComponent <uiSystem> (); cursor = gui.GetComponent <guiSystem> (); //pic = picture.GetComponent <pictureScript> (); if (Application.loadedLevel == 3) { talk = SH.GetComponent <playerScript> (); } else { talk = pc.GetComponent <playerScript> (); } }
void Awake() { // Variables to hold the scripts on other game objects so that we can manipulate them from this script cam = holder.GetComponent <cameraScript> (); //chosen = holder.GetComponent <timeChanger> (); menu = holder.GetComponent <menuScript> (); message = text.GetComponent <uiSystem> (); mouse = pc.GetComponent <MouseLook> (); look = Camera.main.GetComponent <MouseLook> (); movement = pc.GetComponent <CharacterMotor> (); info = this.GetComponent <displayInfo> (); talk = pc.GetComponent <playerScript> (); pic = picture.GetComponent <pictureScript> (); cursor = gui.GetComponent <guiSystem> (); }
void Awake() { message = Text.GetComponent <uiSystem> (); }
void Awake() { // Variables to hold the scripts on other game objects so that we can manipulate them from this script cam = holder.GetComponent <cameraScript> (); //chosen = holder.GetComponent <timeChanger> (); menu = holder.GetComponent <menuScript> (); message = text.GetComponent <uiSystem> (); mouse = this.GetComponent <MouseLook> (); look = Camera.main.GetComponent <MouseLook> (); movement = this.GetComponent <CharacterMotor> (); talk = this.GetComponent <playerScript> (); core = Core.GetComponent <displayInfo> (); daphne = Daphne.GetComponent <displayInfo> (); ic = Core.GetComponent <icScript> (); scepter = scepterBroken.GetComponent <displayInfo> (); okScepter = Scepter.GetComponent <displayInfo> (); cursor = gui.GetComponent <guiSystem> (); }
void Awake() { talk = william.GetComponent <securityBehavior> (); message = text.GetComponent <uiSystem> (); }