Weapos Rejiggered

Modified weapon scripts to eliminate specialized projectile behavior - allows charged weapons to have projectiles and modify weapon stats when charged
Added machine gun weapon & VFX
Moved third party code to Plugins folder to improve compile times
This commit is contained in:
Reinier Vens 2021-01-31 03:52:32 +00:00
commit dbc522a224
2105 changed files with 7033 additions and 1141 deletions

View file

@ -0,0 +1,23 @@
using System;
namespace NaughtyAttributes.Editor
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public abstract class BaseAttribute : Attribute, IAttribute
{
private Type targetAttributeType;
public BaseAttribute(Type targetAttributeType)
{
this.targetAttributeType = targetAttributeType;
}
public Type TargetAttributeType
{
get
{
return this.targetAttributeType;
}
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: dd861c512b7cd804fa5f01b4d0e9f5bc
timeCreated: 1508424822
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,11 @@
using System;
namespace NaughtyAttributes.Editor
{
public class FieldDrawerAttribute : BaseAttribute
{
public FieldDrawerAttribute(Type targetAttributeType) : base(targetAttributeType)
{
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: ad0dbf00ca9ec1e4290145dc40bda96f
timeCreated: 1508835980
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,9 @@
using System;
namespace NaughtyAttributes.Editor
{
public interface IAttribute
{
Type TargetAttributeType { get; }
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: eec883c51d802eb49be41f384e227dad
timeCreated: 1508424822
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,11 @@
using System;
namespace NaughtyAttributes.Editor
{
public class MethodDrawerAttribute : BaseAttribute
{
public MethodDrawerAttribute(Type targetAttributeType) : base(targetAttributeType)
{
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: b89ac4d9b78686548baa09fb0b103850
timeCreated: 1508592495
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,11 @@
using System;
namespace NaughtyAttributes.Editor
{
public class NativePropertyDrawerAttribute : BaseAttribute
{
public NativePropertyDrawerAttribute(Type targetAttributeType) : base(targetAttributeType)
{
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: 7c30e23a060c0614b876d7f14e0ee649
timeCreated: 1510924166
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,11 @@
using System;
namespace NaughtyAttributes.Editor
{
public class PropertyDrawConditionAttribute : BaseAttribute
{
public PropertyDrawConditionAttribute(Type targetAttributeType) : base(targetAttributeType)
{
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: d7962631135870e4fa748e6f81cd64d4
timeCreated: 1508414568
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,11 @@
using System;
namespace NaughtyAttributes.Editor
{
public class PropertyDrawerAttribute : BaseAttribute
{
public PropertyDrawerAttribute(Type targetAttributeType) : base(targetAttributeType)
{
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: 77bb6824c4e9e054db05347dd8465f24
timeCreated: 1508153828
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,11 @@
using System;
namespace NaughtyAttributes.Editor
{
public class PropertyGrouperAttribute : BaseAttribute
{
public PropertyGrouperAttribute(Type targetAttributeType) : base(targetAttributeType)
{
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: 9d1b7efb592ab4a4796c70edaad2be75
timeCreated: 1508332897
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,11 @@
using System;
namespace NaughtyAttributes.Editor
{
public class PropertyMetaAttribute : BaseAttribute
{
public PropertyMetaAttribute(Type targetAttributeType) : base(targetAttributeType)
{
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: b46e1700b41c60141b19b0a7ed25a383
timeCreated: 1508497398
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View file

@ -0,0 +1,11 @@
using System;
namespace NaughtyAttributes.Editor
{
public class PropertyValidatorAttribute : BaseAttribute
{
public PropertyValidatorAttribute(Type targetAttributeType) : base(targetAttributeType)
{
}
}
}

View file

@ -0,0 +1,13 @@
fileFormatVersion: 2
guid: 38c34a83bfd0a07468f20ae50c36737f
timeCreated: 1508153828
licenseType: Free
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: