public OnlineMapsMarker3D AddMarker3D_3(double markerLng, double markerLat, GameObject prefab, GameObject prefab2, int nrpins) { OnlineMapsMarker3D marker; /* if (OnAddMarker3D != null) * { * marker = OnAddMarker3D(markerLng, markerLat, prefab); * if (marker != null) return marker; * }*/ marker = OnlineMapsMarker3DManager.CreateItem_3(markerLng, markerLat, prefab, prefab2, nrpins); if (OnMarker3DAdded != null) { OnMarker3DAdded(marker); } return(marker); }