Exemplo n.º 1
0
    // Start is called before the first frame update
    void Start()
    {
        animator = animatorList[0];

        if (mapRotates.Length > curMapIndex)
        {
            curMap = mapRotates[curMapIndex];
            curMap.isRoutateMap = true;
        }
    }
Exemplo n.º 2
0
 private void ControlMap()
 {
     curMap.isRoutateMap = false;
     curMapIndex++;
     if (curMapIndex < mapRotates.Length)
     {
         curMap = mapRotates[curMapIndex];
         curMap.isRoutateMap = true;
     }
     else
     {
         Debug.LogError("===== mapRotate赋值错误 ====");
     }
 }