public Character(Player player, string name, long id, Vector3D position, Quaternion rotation) { m_player = player; Name = name; EntityId = id; Transform = new MyEntityTransformComponent(this, position, rotation); Inventory = new MyEntityInventoryComponent(this, 4, 4); }
public override void OnBuildableCreated(BuildData data) { base.OnBuildableCreated(data); Inventory = new MyEntityInventoryComponent(this, 8, 4); }