2026-04-27 BGM 및 이스터에그
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace TinyGiantStudio.Layout
|
||||
{
|
||||
/// <summary>
|
||||
/// This is used by Modular3DText to create combined meshes without instantiating objects.
|
||||
/// This holds the desired position of the element like layout element
|
||||
/// </summary>
|
||||
[System.Serializable]
|
||||
public class MeshLayout
|
||||
{
|
||||
public Mesh mesh;
|
||||
public Vector3 position;
|
||||
public Quaternion rotation = Quaternion.identity;
|
||||
|
||||
public float xOffset = 0;
|
||||
public float yOffset = 0;
|
||||
public float zOffset = 0;
|
||||
|
||||
public float width = 0;
|
||||
public float height = 0;
|
||||
public float depth = 0;
|
||||
|
||||
public bool lineBreak;
|
||||
public bool space;
|
||||
|
||||
public MeshLayout(Mesh newMesh)
|
||||
{
|
||||
mesh = newMesh;
|
||||
}
|
||||
|
||||
public MeshLayout()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user