All game c# logic should be wrote in namespace like
namespace CellWar {
namspace Foo {
...
}
}
or
namespace CellWar.Foo {
}
m[MemberName]
eg.
Block mHexBlock;
[Capital]xxxx
eg.
int Length { get; set; }
both [Capital]xxxx
eg.
namespace CellWar.Model.Foo {
public class FooClass {
...
}
}
The project obeys the MVC pattern, whose Model refers to the CellWar.Model namespace. View refers to all the unity scripts attached to the unity game object.
which refers to the model.cs file for the time being.
which refers to all the unity scripts attached to the unity game object.
All unity script, which is attached to the game object, should be named as
U3D_[ScriptName].cs
eg
U3D_CameraLogic.cs
All unity class should be put in namespace like
namespace CellWar.View {
class U3D_FooLogic : MonoBehavior {
...
}
}
be left vacant for the time being.
The controller behavior is integreted into the model so far.