void SetUpGate() { SGMain.GetComponent <InPortal>().exitPortal = SGOther.transform; dialManeger.animatorMainGate = SGMain.GetComponent <Animator>(); dialManeger.animatorOtherGate = SGOther.GetComponent <Animator>(); SGOther.transform.parent.transform.localPosition = new Vector3(-126.61f, -64.26f, 0); }
void SetUpGate() { SGOther.GetComponent <InPortal>().exitPortal = SGMain.transform; dialManeger.animatorMainGate = SGOther.GetComponent <Animator>(); dialManeger.animatorOtherGate = SGMain.GetComponent <Animator>(); }