|
@@ -259,9 +259,9 @@ public class UIEditorPanel : AbstractController, EventObserver
|
|
|
for (int k = 0;k< spoit.material[j].materialList.Count; k++)
|
|
|
{
|
|
|
spoit.material[j].select = true;
|
|
|
- spoit.material[j].materialList[k].ObjectTransform.nowPos = GameManager.Instance.ObjsParent.GetChild(i).GetChild(0).GetChild(k).localPosition;
|
|
|
- spoit.material[j].materialList[k].ObjectTransform.nowRot = GameManager.Instance.ObjsParent.GetChild(i).GetChild(0).GetChild(k).localEulerAngles;
|
|
|
- spoit.material[j].materialList[k].ObjectTransform.nowScale = GameManager.Instance.ObjsParent.GetChild(i).GetChild(0).GetChild(k).localScale;
|
|
|
+ spoit.material[j].materialList[k].ObjectTransform.nowPos = GameManager.Instance.ObjsParent.GetChild(i).GetChild(j).GetChild(k).localPosition;
|
|
|
+ spoit.material[j].materialList[k].ObjectTransform.nowRot = GameManager.Instance.ObjsParent.GetChild(i).GetChild(j).GetChild(k).localEulerAngles;
|
|
|
+ spoit.material[j].materialList[k].ObjectTransform.nowScale = GameManager.Instance.ObjsParent.GetChild(i).GetChild(j).GetChild(k).localScale;
|
|
|
}
|
|
|
}
|
|
|
SplitSpoitData(spoit,count-1);
|