First commit for private source control. Older commits available on Github.

This commit is contained in:
2026-03-26 12:52:52 +00:00
parent a04c602626
commit 2d449c4a17
2176 changed files with 408185 additions and 0 deletions

View File

@@ -0,0 +1,56 @@
using UnityEngine;
namespace NaughtyAttributes
{
public enum EColor
{
Clear,
White,
Black,
Gray,
Red,
Pink,
Orange,
Yellow,
Green,
Blue,
Indigo,
Violet
}
public static class EColorExtensions
{
public static Color GetColor(this EColor color)
{
switch (color)
{
case EColor.Clear:
return new Color32(0, 0, 0, 0);
case EColor.White:
return new Color32(255, 255, 255, 255);
case EColor.Black:
return new Color32(0, 0, 0, 255);
case EColor.Gray:
return new Color32(128, 128, 128, 255);
case EColor.Red:
return new Color32(255, 0, 63, 255);
case EColor.Pink:
return new Color32(255, 152, 203, 255);
case EColor.Orange:
return new Color32(255, 128, 0, 255);
case EColor.Yellow:
return new Color32(255, 211, 0, 255);
case EColor.Green:
return new Color32(98, 200, 79, 255);
case EColor.Blue:
return new Color32(0, 135, 189, 255);
case EColor.Indigo:
return new Color32(75, 0, 130, 255);
case EColor.Violet:
return new Color32(128, 0, 255, 255);
default:
return new Color32(0, 0, 0, 255);
}
}
}
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 059f8674a8065924ea9c678298b5cd63
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 129996
packageName: NaughtyAttributes
packageVersion: 2.1.4
assetPath: Assets/NaughtyAttributes/Scripts/Core/Utility/EColor.cs
uploadId: 480834

View File

@@ -0,0 +1,10 @@
using System;
namespace NaughtyAttributes
{
public enum EConditionOperator
{
And,
Or
}
}

View File

@@ -0,0 +1,18 @@
fileFormatVersion: 2
guid: 3c227b6c19fc67b46ad294d95818f85a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
AssetOrigin:
serializedVersion: 1
productId: 129996
packageName: NaughtyAttributes
packageVersion: 2.1.4
assetPath: Assets/NaughtyAttributes/Scripts/Core/Utility/EConditionOperator.cs
uploadId: 480834