Initial commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace HierarchyIcons
|
||||
{
|
||||
public class HierarchyIcon : MonoBehaviour
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
public Texture2D icon;
|
||||
|
||||
[Range(-3, 5)]
|
||||
public int position;
|
||||
public Direction direction = Direction.RightToLeft;
|
||||
|
||||
[TextArea]
|
||||
public string tooltip;
|
||||
|
||||
public enum Direction
|
||||
{
|
||||
RightToLeft,
|
||||
LeftToRight
|
||||
}
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0fc219dcbba90e84b86e2ecf840e0266
|
||||
timeCreated: 1518156898
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"name": "HierarchyIcons"
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3b7e88b2a461ae24d8dee6925373e924
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user