From 6c91f1ed6810a57da08a24dd1359f288c443dd75 Mon Sep 17 00:00:00 2001 From: chai <215380520@qq.com> Date: Fri, 12 May 2023 19:00:29 +0800 Subject: *misc --- .../Scripts/Rendering/SpriteAnimationController.cs | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 WorldlineKeepers/Assets/Scripts/Rendering/SpriteAnimationController.cs (limited to 'WorldlineKeepers/Assets/Scripts/Rendering/SpriteAnimationController.cs') diff --git a/WorldlineKeepers/Assets/Scripts/Rendering/SpriteAnimationController.cs b/WorldlineKeepers/Assets/Scripts/Rendering/SpriteAnimationController.cs new file mode 100644 index 0000000..315cf91 --- /dev/null +++ b/WorldlineKeepers/Assets/Scripts/Rendering/SpriteAnimationController.cs @@ -0,0 +1,34 @@ +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace WK.Rendering +{ + + public class SpriteAnimationController : MonoBehaviour + { + #region 序列化 + [SerializeField] private SpriteAnimation m_SpriteAnimation; + [SerializeField] private bool m_AutoPlay; + #endregion + + #region 公共字段 + + #endregion + + #region 私有字段 + + #endregion + + private void Awake() + { + // 私有字段赋值 + + // 公共字段赋值 + + // 初始化 + } + + } + +} -- cgit v1.1-26-g67d0