protected override void ClassProperties(Factory factory) { factory.RegisterFloat("movementspeed", "MovementSpeed"); factory.RegisterVector3("maxvelocity", "MaxVelocity"); factory.RegisterFloat("terrainheightoffset", "TerrainHeightOffset"); base.ClassProperties(factory); }
protected override void ClassProperties(Factory factory) { factory.RegisterString("heightmap", "HeightMap"); factory.RegisterFloat("cellsize", "CellSize"); factory.RegisterFloat("maxheight", "MaxHeight"); factory.RegisterInt("width", "Width"); factory.RegisterInt("length", "Length"); base.ClassProperties(factory); }