Changed namespaces
This commit is contained in:
parent
f2355fc782
commit
c473d58817
|
@ -1,9 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "CoreSystems",
|
"name": "CoreSystems",
|
||||||
"rootNamespace": "AsteroidGame",
|
"rootNamespace": "GameDev",
|
||||||
"references": [
|
"references": [],
|
||||||
"GUID:eb3099ff524d60545a136315a154d67b"
|
|
||||||
],
|
|
||||||
"includePlatforms": [],
|
"includePlatforms": [],
|
||||||
"excludePlatforms": [],
|
"excludePlatforms": [],
|
||||||
"allowUnsafeCode": false,
|
"allowUnsafeCode": false,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AsteroidGame.CoreSystems
|
namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public interface IBuildable
|
public interface IBuildable
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AsteroidGame.CoreSystems
|
namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public interface IDamageable
|
public interface IDamageable
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AsteroidGame.CoreSystems
|
namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public interface IPowerSystem
|
public interface IPowerSystem
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AsteroidGame.CoreSystems
|
namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public interface ITargetable
|
public interface ITargetable
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
namespace AsteroidGame.CoreSystems
|
namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public interface IWeapon
|
public interface IWeapon
|
||||||
{
|
{
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 69fd32df12e214d4f92a17dbbe677a7d
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,20 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace GameDev.CoreSystems
|
||||||
|
{
|
||||||
|
public abstract class SRuntimeSet<T> : ScriptableObject
|
||||||
|
{
|
||||||
|
public List<T> _list;
|
||||||
|
|
||||||
|
public void Add(T component)
|
||||||
|
{
|
||||||
|
_list.Add(component);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void Remove(T component)
|
||||||
|
{
|
||||||
|
_list.Remove(component);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 1e81b384c7f010b4fa3c1b8f293a4c42
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,10 @@
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace GameDev.CoreSystems
|
||||||
|
{
|
||||||
|
[CreateAssetMenu(fileName = "newDamageableRuntimeSet", menuName = "RuntimeSet/Damageable")]
|
||||||
|
public class SoDamageableRuntimeSet : SRuntimeSet<Damageable>
|
||||||
|
{
|
||||||
|
//asdf
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 9d4c8ce856b06db4c9a892b981e516e7
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -0,0 +1,9 @@
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
namespace GameDev.CoreSystems
|
||||||
|
{
|
||||||
|
[CreateAssetMenu(fileName = "newDamageableRuntimeSet", menuName = "RuntimeSet/Damageable")]
|
||||||
|
public class SoTargetableRuntimeSet : SRuntimeSet<Targetable>
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,11 @@
|
||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 7d76ef79c960c1845a914468e30d036b
|
||||||
|
MonoImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 2
|
||||||
|
defaultReferences: []
|
||||||
|
executionOrder: 0
|
||||||
|
icon: {instanceID: 0}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AsteroidGame.CoreSystems
|
namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public class Damageable : MonoBehaviour, IDamageable
|
public class Damageable : MonoBehaviour, IDamageable
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
|
|
||||||
namespace AsteroidGame.CoreSystems
|
namespace GameDev.CoreSystems
|
||||||
{
|
{
|
||||||
public class Targetable : MonoBehaviour, ITargetable
|
public class Targetable : MonoBehaviour, ITargetable
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue