Пример #1
0
 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(-191f, -71.4f, 0);
     print(SGOther.transform.parent.name);
 }
Пример #2
0
 void SetUpGate()
 {
     SGOther.GetComponent <InPortal>().exitPortal = SGMain.transform;
     dialManeger.animatorMainGate  = SGOther.GetComponent <Animator>();
     dialManeger.animatorOtherGate = SGMain.GetComponent <Animator>();
 }