// Start is called before the first frame update void Start() { animator = animatorList[0]; if (mapRotates.Length > curMapIndex) { curMap = mapRotates[curMapIndex]; curMap.isRoutateMap = true; } }
private void ControlMap() { curMap.isRoutateMap = false; curMapIndex++; if (curMapIndex < mapRotates.Length) { curMap = mapRotates[curMapIndex]; curMap.isRoutateMap = true; } else { Debug.LogError("===== mapRotate赋值错误 ===="); } }