|
@@ -23,6 +23,13 @@ namespace MetaClient
|
|
protected Transform seniorView;
|
|
protected Transform seniorView;
|
|
protected Transform extraView;
|
|
protected Transform extraView;
|
|
protected bool isPlay = false;
|
|
protected bool isPlay = false;
|
|
|
|
+ protected GameObject zhenNumberItem;//帧数字
|
|
|
|
+ protected GameObject zhenBgItem;//帧背景
|
|
|
|
+ protected GameObject bodyZhenItem;//身体
|
|
|
|
+ protected GameObject zhenItem;//单位帧
|
|
|
|
+ protected Transform zhenBgList;
|
|
|
|
+ protected Transform bodyZhenList;
|
|
|
|
+ protected Transform zhenList;
|
|
|
|
|
|
protected float nowTime = 0;//当前帧
|
|
protected float nowTime = 0;//当前帧
|
|
protected float finalTime = 0;//末尾帧
|
|
protected float finalTime = 0;//末尾帧
|
|
@@ -30,6 +37,11 @@ namespace MetaClient
|
|
{
|
|
{
|
|
|
|
|
|
base.OnOpen(userData);
|
|
base.OnOpen(userData);
|
|
|
|
+ GameObject objItem = FindChildByName(this.gameObject.transform, "Item").gameObject;
|
|
|
|
+ zhenNumberItem = objItem.transform.GetChild(0).gameObject;
|
|
|
|
+ zhenBgItem = objItem.transform.GetChild(1).gameObject;
|
|
|
|
+ bodyZhenItem = objItem.transform.GetChild(2).gameObject;
|
|
|
|
+ zhenItem = objItem.transform.GetChild(3).gameObject;
|
|
rotateXY.Add(FindChildByName(this.gameObject.transform,"RotateY"));
|
|
rotateXY.Add(FindChildByName(this.gameObject.transform,"RotateY"));
|
|
rotateXY.Add(FindChildByName(this.gameObject.transform, "RotateX"));
|
|
rotateXY.Add(FindChildByName(this.gameObject.transform, "RotateX"));
|
|
topView = FindChildByName(this.gameObject.transform, "Top");
|
|
topView = FindChildByName(this.gameObject.transform, "Top");
|