mirror of
https://github.com/maxartz15/MA_TextureAtlasser.git
synced 2024-11-14 01:15:37 +01:00
max
82efcbb6d0
Added the option to duplicate the selected quad. Added settings for focus, duplication, hotkeys. Added hotkeys, can be enabled in the settings file.
25 lines
620 B
C#
25 lines
620 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEditor;
|
|
using MA_Editor;
|
|
|
|
namespace MA_TextureAtlasserPro
|
|
{
|
|
[System.Serializable]
|
|
public class MA_TextureAtlasserProSettings : ScriptableObject
|
|
{
|
|
[Header("Selection")]
|
|
public bool autoFocus = true;
|
|
|
|
[Header("Duplication:")]
|
|
public bool copySelectedQuadData = false;
|
|
public string duplicatedQuadNamePrefix = "new ";
|
|
|
|
[Header("Hotkeys:")]
|
|
public bool useHotkeys = false;
|
|
public KeyCode addQuadHotKey = KeyCode.Q;
|
|
public KeyCode removeQuadHotKey = KeyCode.R;
|
|
public KeyCode duplicateHotKey = KeyCode.D;
|
|
}
|
|
} |