1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using UnityEngine;
- using System;
- using System.Collections;
- using System.Collections.Generic;
- public class AtlasUtil : MonoBehaviour
- {
- [Serializable]
- public class VirtualTexture
- {
- public int Width;
- public int Height;
- public string Name;
- }
- #region 变量
- public TextAsset DragonboneJson;
- public Texture2D Texture;
- public int Padding;
- public int MaxSize;
- public string BuildPath = "Assets";
- public string BuildName = "TextureName";
- public TextureFormat TextureFormat = TextureFormat.RGBA32;
- public List<Texture2D> TextureList = new List<Texture2D>();
- public List<VirtualTexture> VirtualTextureList = new List<VirtualTexture>();
- #endregion
- private void Awake()
- {
-
- }
-
- private void FixedUpdate()
- {
-
- }
- }
|