//private static weakSwordCheck = false; // Use this for initialization void Start() { activateWeapon = FindObjectOfType <WeaponManager> (); theEHM = FindObjectOfType <EnemyHealthManager> (); hurten = FindObjectOfType <HurtEnemy> (); hintTrigger = FindObjectOfType <HintTrigger> (); sfxMan = FindObjectOfType <SFXManager> (); anim = FindObjectOfType <PlayerController>().GetComponent <Animator> (); //DontDestroyOnLoad (transform.gameObject); //gameObject.SetActive (true); }
// Use this for initialization void Start() { //get image of objectives hud objView = GameObject.Find("Objectives"); //declare camera cam = GameObject.Find("CamProp"); //declare flashlight flashlight = GameObject.Find("Flashlight"); isItem = GetComponentInParent<Inventory>(); hud = GameObject.Find("HUD").GetComponent<HintTrigger>(); }
void Start() { gramaphone = GameObject.Find("Final_vinyl"); hud = GameObject.Find("HUD").GetComponent<HintTrigger>(); }