Summary

public IMyGunObject<MyDeviceBase> GetGun(MyDefinitionId defId)

Get first found gun object with specified definition id.

Returns

IMyGunObject

Parameters