Esempio n. 1
0
        private void ForceClothesReload(ChaFileDefine.ClothesKind kind)
        {
            if (ChaControl.rendBody == null)
            {
                return;
            }

            var num = (int)kind;

            ChaControl.StartCoroutine(
                ChaControl.ChangeClothesAsync(
                    num,
                    ChaControl.nowCoordinate.clothes.parts[num].id,
                    ChaControl.nowCoordinate.clothes.subPartsId[0],
                    ChaControl.nowCoordinate.clothes.subPartsId[1],
                    ChaControl.nowCoordinate.clothes.subPartsId[2],
                    true,
                    false
                    ));
        }