public void LoadFromTGSerializedObject(TGSerializedObject _tg) { if (_tg != null && _tg.TGObjectType == TGObjectType) { X = _tg.GetDouble("X"); Y = _tg.GetDouble("Y"); } }