extra assets + decoration
This commit is contained in:
@@ -0,0 +1,63 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledBanner : PropertyAttribute
|
||||
{
|
||||
public float colorR;
|
||||
public float colorG;
|
||||
public float colorB;
|
||||
public string title;
|
||||
public string helpURL;
|
||||
|
||||
public StyledBanner(string title)
|
||||
{
|
||||
this.colorR = -1;
|
||||
this.title = title;
|
||||
this.helpURL = "";
|
||||
}
|
||||
|
||||
public StyledBanner(float colorR, float colorG, float colorB, string title)
|
||||
{
|
||||
this.colorR = colorR;
|
||||
this.colorG = colorG;
|
||||
this.colorB = colorB;
|
||||
this.title = title;
|
||||
this.helpURL = "";
|
||||
}
|
||||
|
||||
// Legacy
|
||||
public StyledBanner(string title, string helpURL)
|
||||
{
|
||||
this.colorR = -1;
|
||||
this.title = title;
|
||||
this.helpURL = helpURL;
|
||||
}
|
||||
|
||||
public StyledBanner(float colorR, float colorG, float colorB, string title, string helpURL)
|
||||
{
|
||||
this.colorR = colorR;
|
||||
this.colorG = colorG;
|
||||
this.colorB = colorB;
|
||||
this.title = title;
|
||||
this.helpURL = helpURL;
|
||||
}
|
||||
|
||||
public StyledBanner(string title, string subtitle, string helpURL)
|
||||
{
|
||||
this.colorR = -1;
|
||||
this.title = title;
|
||||
this.helpURL = helpURL;
|
||||
}
|
||||
|
||||
public StyledBanner(float colorR, float colorG, float colorB, string title, string subtitle, string helpURL)
|
||||
{
|
||||
this.colorR = colorR;
|
||||
this.colorG = colorG;
|
||||
this.colorB = colorB;
|
||||
this.title = title;
|
||||
this.helpURL = helpURL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0fb089d68a8e4634390e299256c8eec7
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,28 @@
|
||||
// Cristian Pop - https://boxophobic.com/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledButton : PropertyAttribute
|
||||
{
|
||||
public string Text = "";
|
||||
public float Top = 0;
|
||||
public float Down = 0;
|
||||
|
||||
public StyledButton(string Text)
|
||||
{
|
||||
this.Text = Text;
|
||||
this.Top = 0;
|
||||
this.Down = 0;
|
||||
}
|
||||
|
||||
public StyledButton(string Text, float Top, float Down)
|
||||
{
|
||||
this.Text = Text;
|
||||
this.Top = Top;
|
||||
this.Down = Down;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7c167590d9d480e438111f555c3a9d09
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,45 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledCategory : PropertyAttribute
|
||||
{
|
||||
public string category;
|
||||
public float top;
|
||||
public float down;
|
||||
public bool colapsable;
|
||||
|
||||
public StyledCategory(string category)
|
||||
{
|
||||
this.category = category;
|
||||
this.top = 10;
|
||||
this.down = 10;
|
||||
this.colapsable = false;
|
||||
}
|
||||
|
||||
public StyledCategory(string category, bool colapsable)
|
||||
{
|
||||
this.category = category;
|
||||
this.top = 10;
|
||||
this.down = 10;
|
||||
this.colapsable = colapsable;
|
||||
}
|
||||
|
||||
public StyledCategory(string category, float top, float down)
|
||||
{
|
||||
this.category = category;
|
||||
this.top = top;
|
||||
this.down = down;
|
||||
this.colapsable = false;
|
||||
}
|
||||
|
||||
public StyledCategory(string category, int top, int down, bool colapsable)
|
||||
{
|
||||
this.category = category;
|
||||
this.top = top;
|
||||
this.down = down;
|
||||
this.colapsable = colapsable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6dfd994aa3f6b3944a0bd6effc2b3102
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,34 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledEnum : PropertyAttribute
|
||||
{
|
||||
public string display = "";
|
||||
public string file = "";
|
||||
public string options = "";
|
||||
|
||||
public int top = 0;
|
||||
public int down = 0;
|
||||
|
||||
public StyledEnum(string file, string options, int top, int down)
|
||||
{
|
||||
this.file = file;
|
||||
this.options = options;
|
||||
|
||||
this.top = top;
|
||||
this.down = down;
|
||||
}
|
||||
|
||||
public StyledEnum(string display, string file, string options, int top, int down)
|
||||
{
|
||||
this.display = display;
|
||||
this.file = file;
|
||||
this.options = options;
|
||||
|
||||
this.top = top;
|
||||
this.down = down;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c65df615eedc39d41bcf5191b9429056
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,17 @@
|
||||
// Cristian Pop - https://boxophobic.com/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledIndent : PropertyAttribute
|
||||
{
|
||||
public int indent;
|
||||
|
||||
public StyledIndent(int indent)
|
||||
{
|
||||
this.indent = indent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fd0e43229939f8b45bd79345e699dfcd
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
// Cristian Pop - https://boxophobic.com/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledInteractive : PropertyAttribute
|
||||
{
|
||||
public StyledInteractive()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 388415cfa9bb69041a8281bc567acec5
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,20 @@
|
||||
// Cristian Pop - https://boxophobic.com/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledLayers : PropertyAttribute
|
||||
{
|
||||
public string display = "";
|
||||
public StyledLayers()
|
||||
{
|
||||
}
|
||||
|
||||
public StyledLayers(string display)
|
||||
{
|
||||
this.display = display;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 846c011559e38824090c713c729cfec1
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,34 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledMask : PropertyAttribute
|
||||
{
|
||||
public string display = "";
|
||||
public string file = "";
|
||||
public string options = "";
|
||||
|
||||
public int top = 0;
|
||||
public int down = 0;
|
||||
|
||||
public StyledMask(string file, string options, int top, int down)
|
||||
{
|
||||
this.file = file;
|
||||
this.options = options;
|
||||
|
||||
this.top = top;
|
||||
this.down = down;
|
||||
}
|
||||
|
||||
public StyledMask(string display, string file, string options, int top, int down)
|
||||
{
|
||||
this.display = display;
|
||||
this.file = file;
|
||||
this.options = options;
|
||||
|
||||
this.top = top;
|
||||
this.down = down;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e4362c0144e8a5b45be782723d2c956f
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,31 @@
|
||||
// Cristian Pop - https://boxophobic.com/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledMessage : PropertyAttribute
|
||||
{
|
||||
public string Type;
|
||||
public string Message;
|
||||
public float Top;
|
||||
public float Down;
|
||||
|
||||
public StyledMessage(string Type, string Message)
|
||||
{
|
||||
this.Type = Type;
|
||||
this.Message = Message;
|
||||
this.Top = 0;
|
||||
this.Down = 0;
|
||||
}
|
||||
|
||||
public StyledMessage(string Type, string Message, float Top, float Down)
|
||||
{
|
||||
this.Type = Type;
|
||||
this.Message = Message;
|
||||
this.Top = Top;
|
||||
this.Down = Down;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ab1d3117b9da8d7429e5ac70bd016772
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,24 @@
|
||||
// Cristian Pop - https://boxophobic.com/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledRangeOptions : PropertyAttribute
|
||||
{
|
||||
public string display;
|
||||
public float min;
|
||||
public float max;
|
||||
public string[] options;
|
||||
|
||||
public StyledRangeOptions(string display, float min, float max, string[] options)
|
||||
{
|
||||
this.display = display;
|
||||
this.min = min;
|
||||
this.max = max;
|
||||
|
||||
this.options = options;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 896f8a6be3053ff4a8f322a960986af1
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,15 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledSpace : PropertyAttribute
|
||||
{
|
||||
public int space;
|
||||
|
||||
public StyledSpace(int space)
|
||||
{
|
||||
this.space = space;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e11186e2ccd8bf44d9d8699902268c99
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,32 @@
|
||||
// Cristian Pop - https://boxophobic.com/
|
||||
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledText : PropertyAttribute
|
||||
{
|
||||
public string text = "";
|
||||
public TextAnchor alignment = TextAnchor.MiddleCenter;
|
||||
public float top = 0;
|
||||
public float down = 0;
|
||||
|
||||
public StyledText()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public StyledText(TextAnchor alignment)
|
||||
{
|
||||
this.alignment = alignment;
|
||||
}
|
||||
|
||||
public StyledText(TextAnchor alignment, float top, float down)
|
||||
{
|
||||
this.alignment = alignment;
|
||||
this.top = top;
|
||||
this.down = down;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: df9ee7b5ab129dd4991f424a8d93430b
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,20 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Boxophobic.StyledGUI
|
||||
{
|
||||
public class StyledTexturePreview : PropertyAttribute
|
||||
{
|
||||
public string displayName = "";
|
||||
|
||||
public StyledTexturePreview()
|
||||
{
|
||||
this.displayName = "";
|
||||
}
|
||||
|
||||
public StyledTexturePreview(string displayName)
|
||||
{
|
||||
this.displayName = displayName;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b33fc29a1077eff40880c4d54b57136c
|
||||
timeCreated: 1544997099
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user