// Start is called before the first frame update void Start() { coolDown = 3; plrMngr = GetComponent <PlayerManager>(); control = GetComponent <charController>(); introHead.gameObject.SetActive(true); introTitle.gameObject.SetActive(true); }
void Start() { chara = GameObject.Find("Character"); stats = chara.GetComponent(typeof(Stats)) as Stats; charcon = chara.GetComponent(typeof(charController)) as charController; duration = 1.5f; healthmin = stats.health; }
// Use this for initialization void Start() { chara = GameObject.Find("Character"); charcon = (charController)chara.GetComponent(typeof(charController)); charcon.immobile = true; //charcon.invincible = true; charcon.silenced = true; mouseLook = chara.GetComponent(typeof(lookAtMouse)) as lookAtMouse; mouseLook.enabled = false; dir = chara.transform.forward; duration = 0.7f; prevHits = new List <Collider>(); transform.position = chara.transform.position; transform.localEulerAngles = chara.transform.localEulerAngles; }
// Start is called before the first frame update void Start() { control = GetComponent <charController>(); introHead.gameObject.SetActive(true); introTitle.gameObject.SetActive(true); }
// Use this for initialization void Start() { autoButton.isOn = false; SaveGameText.text = ""; typetextcoroutine = null; dialoguefinished = true; choicesstart = new List<int> (); choicepanelvisible = false; dp = GameObject.Find ("DialogueParser").GetComponent<DialogueParser> (); cc = GameObject.Find ("Character").GetComponent<charController> (); Debug.Log (PlayerPrefs.GetInt ("FromContinue")); if (PlayerPrefs.GetInt ("FromContinue") == 0) { linenumber = 0; } else { linenumber = PlayerPrefs.GetInt ("LineNumber"); choiceends = PlayerPrefs.GetInt("ChoiceEnds"); choicegoto = PlayerPrefs.GetInt("Choicegoto"); endofchoices = PlayerPrefs.GetInt("EndOfChoices"); //MouseButtonClick(false); } }
void Start() { player = GameObject.Find("character").GetComponent<charController>(); logcontroller = GameObject.Find("loghorController").GetComponent<physicsLog>(); }
// Use this for initialization void Start() { testString = "same"; playerScript = player.GetComponent <charController>(); }
// Use this for initialization void Start() { dp =GameObject.Find ("DialogueParser").GetComponent<DialogueParser> (); cc = GameObject.Find ("Character").GetComponent<charController> (); linenumber = 0; }