// 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();
 }
Exemplo n.º 2
0
 // 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;
 }
Exemplo n.º 4
0
 // Use this for initialization
 void Start()
 {
     dMan = FindObjectOfType <DialogueM>();
 }