Split Editor and Runtime into separate namespaces, Created Texture and Mesh classes
This commit is contained in:
22
Runtime/PSXTexture.cs
Normal file
22
Runtime/PSXTexture.cs
Normal file
@@ -0,0 +1,22 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace PSXSplash.RuntimeCode {
|
||||
public enum PSXTextureType {
|
||||
TEX_4BPP,
|
||||
|
||||
TEX_8BPP,
|
||||
|
||||
TEX16_BPP
|
||||
}
|
||||
|
||||
[System.Serializable]
|
||||
public class PSXTexture
|
||||
{
|
||||
public PSXTextureType TextureType;
|
||||
public bool Dithering = true;
|
||||
|
||||
public void Export() {
|
||||
Debug.Log($"Export: {this}");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user