规范命名空间
具体来说就是 SepCore 开头,然后接所属的模块名,比如 SepCore.Entity,SepCore.Simulation,SepCore.Procedure
This commit is contained in:
+4
-5
@@ -1,11 +1,10 @@
|
||||
using SepCore.Event;
|
||||
using Entity;
|
||||
using Entity.EntityData;
|
||||
using Entity.Weapon;
|
||||
using SepCore.Entity;
|
||||
using SepCore.Entity.Weapon;
|
||||
using GameFramework.Event;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Simulation
|
||||
namespace SepCore.Simulation
|
||||
{
|
||||
public sealed partial class SimulationWorld
|
||||
{
|
||||
@@ -124,7 +123,7 @@ namespace Simulation
|
||||
return;
|
||||
}
|
||||
|
||||
EffectData effectData = new EffectData(entityComponent.GenerateSerialId(), effectTypeId)
|
||||
EffectData effectData = new EffectData(entityComponent.NextId(), effectTypeId)
|
||||
{
|
||||
Position = args.HitPosition
|
||||
};
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Simulation
|
||||
namespace SepCore.Simulation
|
||||
{
|
||||
public sealed partial class SimulationWorld
|
||||
{
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using Entity;
|
||||
using SepCore.Entity;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Simulation
|
||||
namespace SepCore.Simulation
|
||||
{
|
||||
public sealed partial class SimulationWorld
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user