mirror of
http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite.git
synced 2025-11-20 05:57:14 +08:00
(client) feat:健康给予,路径优化,结算界面,商店界面 (#60)
Co-authored-by: m0_75251201 <m0_75251201@noreply.gitcode.com> Reviewed-on: http://47.107.252.169:3000/Roguelite-Game-Developing-Team/Gen_Hack-and-Slash-Roguelite/pulls/60
This commit is contained in:
17
Client/Assets/Editor/SetTextureSeting.cs
Normal file
17
Client/Assets/Editor/SetTextureSeting.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Editor
|
||||
{
|
||||
public class SetTextureSeting: AssetPostprocessor
|
||||
{
|
||||
private void OnPreprocessTexture() {
|
||||
TextureImporter textureImporter = (TextureImporter)assetImporter;
|
||||
textureImporter.textureType = TextureImporterType.Sprite;
|
||||
textureImporter.isReadable = true;
|
||||
textureImporter.filterMode = FilterMode.Point;
|
||||
textureImporter.spriteImportMode = SpriteImportMode.Single;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
3
Client/Assets/Editor/SetTextureSeting.cs.meta
Normal file
3
Client/Assets/Editor/SetTextureSeting.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 340d7cb6efeb40cebe4373353be920e9
|
||||
timeCreated: 1759915522
|
||||
Reference in New Issue
Block a user