public override void Init(MyObjectBuilder_SessionComponent sessionComponent)
        {
            base.Init(sessionComponent);
            var ob = sessionComponent as MyObjectBuilder_SharedStorageComponent;
            Debug.Assert(ob != null);
            m_objectBuilder = new MyObjectBuilder_SharedStorageComponent
            {
                BoolStorage = ob.BoolStorage,
                FloatStorage = ob.FloatStorage,
                StringStorage = ob.StringStorage,
                IntStorage = ob.IntStorage,
                Vector3DStorage = ob.Vector3DStorage,
                ExistingFieldsAndStaticAttribute = ob.ExistingFieldsAndStaticAttribute
            };

            m_instance = this;
        }
        public override void Init(MyObjectBuilder_SessionComponent sessionComponent)
        {
            base.Init(sessionComponent);
            var ob = sessionComponent as MyObjectBuilder_SharedStorageComponent;

            Debug.Assert(ob != null);
            m_objectBuilder = new MyObjectBuilder_SharedStorageComponent
            {
                BoolStorage     = ob.BoolStorage,
                FloatStorage    = ob.FloatStorage,
                StringStorage   = ob.StringStorage,
                IntStorage      = ob.IntStorage,
                Vector3DStorage = ob.Vector3DStorage,
                ExistingFieldsAndStaticAttribute = ob.ExistingFieldsAndStaticAttribute
            };

            m_instance = this;
        }