Initial commit

This commit is contained in:
2026-05-19 13:55:16 +01:00
commit f650f6da3c
99 changed files with 7189 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
using UnityEngine.Scripting;
using System;
namespace PashaBibko.Pacore.Attributes
{
[Preserve, AttributeUsage(AttributeTargets.Class)]
public class CreateInstanceOnStartAttribute : Attribute { }
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 01a51f48470f91f49bad28eb4495aae5

View File

@@ -0,0 +1,16 @@
using UnityEngine;
using System;
namespace PashaBibko.Pacore.Attributes
{
[AttributeUsage(validOn: AttributeTargets.Field)]
public sealed class DetectInspectorChangesAttribute : PropertyAttribute
{
public string ActionName { get; }
public DetectInspectorChangesAttribute(string function)
{
ActionName = function;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 6221a3b81100d9f46b6e994a1e7bff20

View File

@@ -0,0 +1,15 @@
using System;
namespace PashaBibko.Pacore.Attributes
{
[AttributeUsage(AttributeTargets.Method)]
public class InspectorCallableAttribute : Attribute
{
public string ButtonName { get; }
public InspectorCallableAttribute(string name)
{
ButtonName = name;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: a1c2ef00bd0b8434e947092a95e39f13

View File

@@ -0,0 +1,16 @@
using UnityEngine;
using System;
namespace PashaBibko.Pacore.Attributes
{
[AttributeUsage(validOn: AttributeTargets.Field)]
public sealed class InspectorReadOnlyAttribute : PropertyAttribute
{
public string Name { get; }
public InspectorReadOnlyAttribute(string name = null)
{
Name = name;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: 0be78274c3c8f3746b0c073b602a914b

View File

@@ -0,0 +1,24 @@
using UnityEngine;
using System;
namespace PashaBibko.Pacore.Attributes
{
[AttributeUsage(AttributeTargets.Field)]
public class MonoScriptAttribute : PropertyAttribute
{
public Type InheritedFrom { get; }
public Type MonoType { get; }
public MonoScriptAttribute(Type inherited, Type type = null)
{
InheritedFrom = inherited;
MonoType = type;
}
public MonoScriptAttribute(Type type = null)
{
InheritedFrom = null;
MonoType = type;
}
}
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: dc01f3f6c0d2ab84caa6ff319ae31142

View File

@@ -0,0 +1,7 @@
using System;
namespace PashaBibko.Pacore.Attributes
{
[AttributeUsage(validOn: AttributeTargets.Field)]
public class StaticInspectorFieldAttribute : Attribute { }
}

View File

@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: b0614582475885c44bb1b9dabb0104a4