// Use this for initialization void Start() { mycam = GetComponent <Camera>(); dMan = FindObjectOfType <DialogueM>(); dHol = FindObjectOfType <dialogueHolder>(); InBetween = GameObject.FindGameObjectsWithTag("Dialogue Holder"); Transform[] DialH = InBetween.Select(f => f.transform).ToArray(); }
// Use this for initialization void Start() { rbody = GetComponent <Rigidbody2D> (); anim = GetComponent <Animator> (); dMan = FindObjectOfType <DialogueM>(); wrp = FindObjectOfType <Warp>(); moveSpeed_Archive = moveSpeed; }
void Start() { dMan = FindObjectOfType <DialogueM>(); thosObject = gameObject.transform; instance = gameObject; }
// Use this for initialization void Start() { dMan = FindObjectOfType <DialogueM>(); }