From 8f9c6ebd2b300c2f93e2b3dcb821a1b86b37c6d3 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期二, 01 七月 2025 14:35:25 +0800 Subject: [PATCH] 53 子 【主界面】核心主体 / 【三国主界面】核心主体-客户端 - 主线关卡 --- Main/Config/Configs/FrameAnimationConfig.cs | 100 +++++++++++++++++++++++++------------------------- 1 files changed, 50 insertions(+), 50 deletions(-) diff --git a/Main/Config/Configs/FaceConfig.cs b/Main/Config/Configs/FrameAnimationConfig.cs similarity index 88% rename from Main/Config/Configs/FaceConfig.cs rename to Main/Config/Configs/FrameAnimationConfig.cs index 7cf29db..83a6efd 100644 --- a/Main/Config/Configs/FaceConfig.cs +++ b/Main/Config/Configs/FrameAnimationConfig.cs @@ -1,50 +1,50 @@ -锘�//-------------------------------------------------------- -// [Author]: YYL -// [ Date ]: 2025骞�5鏈�22鏃� -//-------------------------------------------------------- - -using System.Collections.Generic; -using System.IO; -using System.Threading; -using System; -using UnityEngine; -using LitJson; - -public partial class FaceConfig : ConfigBase<string, FaceConfig> -{ - - public string name; - public int frameCnt; - public int speed; - public int frameType; - public int EmojiPackID; - public string folder; - - public override string LoadKey(string _key) - { - string key = GetKey(_key); - return key; - } - - public override void LoadConfig(string input) - { - try { - string[] tables = input.Split('\t'); - name = tables[0]; - - int.TryParse(tables[1],out frameCnt); - - int.TryParse(tables[2],out speed); - - int.TryParse(tables[3],out frameType); - - int.TryParse(tables[4],out EmojiPackID); - - folder = tables[5]; - } - catch (Exception exception) - { - Debug.LogError(exception); - } - } -} +锘�//-------------------------------------------------------- +// [Author]: YYL +// [ Date ]: 2025骞�6鏈�30鏃� +//-------------------------------------------------------- + +using System.Collections.Generic; +using System.IO; +using System.Threading; +using System; +using UnityEngine; +using LitJson; + +public partial class FrameAnimationConfig : ConfigBase<string, FrameAnimationConfig> +{ + + public string name; + public int frameCnt; + public int speed; + public int frameType; + public int EmojiPackID; + public string folder; + + public override string LoadKey(string _key) + { + string key = GetKey(_key); + return key; + } + + public override void LoadConfig(string input) + { + try { + string[] tables = input.Split('\t'); + name = tables[0]; + + int.TryParse(tables[1],out frameCnt); + + int.TryParse(tables[2],out speed); + + int.TryParse(tables[3],out frameType); + + int.TryParse(tables[4],out EmojiPackID); + + folder = tables[5]; + } + catch (Exception exception) + { + Debug.LogError(exception); + } + } +} -- Gitblit v1.8.0