private void InitStructure()
    {
        Template = TemplateLoader.GetStructureById(Class.ID);
        if (Template == null)
        {
            Debug.LogFormat("Invalid structure created (template not found, typeId={0})", Class.ID);
            Class = null;
            return;
        }

        HealthMax    = Health = Template.HealthMax;
        Width        = Template.Width;
        Height       = Template.Height;
        ScanRange    = Template.ScanRange; // only default scanrange
        DoUpdateView = true;
    }