Summary

public IMyEntity GetTopMostParent(Type type)

Gets top most Parent of specified type. Top most is entity that doesn't have parent (of specified type)

Returns

IMyEntity

Entity

Parameters