add ckg
plantilla base para movimiento básico
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[Serializable]
|
||||
public sealed class CustomizableToolbarSettingsData
|
||||
{
|
||||
[SerializeField] private string m_commandName = null;
|
||||
[SerializeField] private string m_buttonName = null;
|
||||
[SerializeField] private bool m_useImage = false;
|
||||
[SerializeField] private Texture m_image = null;
|
||||
[SerializeField] private int m_width = 0;
|
||||
[SerializeField] private string m_hint = null;
|
||||
|
||||
public string CommandName { get { return m_commandName; } }
|
||||
|
||||
public string ButtonName { get { return m_buttonName; } }
|
||||
|
||||
public bool useImage { get { return m_useImage; } }
|
||||
|
||||
public Texture Image { get { return m_image; } }
|
||||
|
||||
public int Width { get { return m_width; } }
|
||||
|
||||
public string hint { get { return m_hint; } }
|
||||
|
||||
public bool IsValid { get { return !string.IsNullOrEmpty (m_commandName); } }
|
||||
}
|
||||
|
||||
public sealed class CustomizableToolbarSettings : ScriptableObject
|
||||
{
|
||||
[SerializeField] private CustomizableToolbarSettingsData[] m_list = null;
|
||||
|
||||
public int numberOfColumns = 23;
|
||||
|
||||
public float windowsHeight = 50;
|
||||
|
||||
public IList<CustomizableToolbarSettingsData> List { get { return m_list; } }
|
||||
}
|
||||
Reference in New Issue
Block a user