Veilheim/Map/PortalsOnMap.cs
/// <summary>
///     Create PinData objects without adding them to the map directly
/// </summary>
Create PinData objects without adding them to the map directly
Create PinData objects without adding them to the map directly
public static Minimap.PinData CreatePinData(Vector3 pos, Minimap.PinType type, string name, bool save, bool isChecked)
        {
            var pinData = new Minimap.PinData();
            pinData.m_type = type;
            pinData.m_name = name;
            pinData.m_pos = pos;
            pinData.m_icon = Minimap.instance.GetSprite(type);
            pinData.m_save = save;
            pinData.m_checked = isChecked;
            return pinData;
        }
public static Minimap . PinData CreatePinData ( Vector3 pos , Minimap . PinType type , string name , bool save , bool isChecked ) { var pinData = new Minimap . PinData ( ) ; pinData . m_type = type ; pinData . m_name = name ; pinData . m_pos = pos ; pinData . m_icon = Minimap . instance . GetSprite ( type ) ; pinData . m_save = save ; pinData . m_checked = isChecked ; return pinData ; }
Create PinData objects without adding them to the map directly
Create PinData objects without adding them to the map directly
pos
Vector3
type
Minimap.PinType
name
string
save
bool
isChecked
bool