示例#1
0
    public OnlineMapsMarker3D AddMarker3D_2(double markerLng, double markerLat, GameObject prefab, GameObject prefab2, float value, int type)
    {
        OnlineMapsMarker3D marker;

        /*  if (OnAddMarker3D != null)
         * {
         *    marker = OnAddMarker3D(markerLng, markerLat, prefab);
         *    if (marker != null) return marker;
         * }*/

        marker = OnlineMapsMarker3DManager.CreateItem_2(markerLng, markerLat, prefab, prefab2, value, type);

        if (OnMarker3DAdded != null)
        {
            OnMarker3DAdded(marker);
        }

        return(marker);
    }