This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Shader "Unlit/WorldMapHighlight" | |
{ | |
Properties{ | |
_Color ("Tint", Color) = (0, 0, 0, 1) | |
_FullColor ("Full Color", Color) = (0, 0, 0, 1) | |
_MainTex ("Texture", 2D) = "white" {} | |
// _HighlightUV ("highlightUV", Vector) = (0, 0, 0, 1) | |
_HighlightUV ("Highlight", Color) = (0, 0, 0, 1) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Injectable() | |
export class AuthInterceptor implements HttpInterceptor { | |
constructor(private authService: AuthService, private localStorageService: LocalStorageService ) {} | |
intercept(req: HttpRequest<any>, next: HttpHandler) { | |
const authRequest = req.clone({}); | |
return next.handle(authRequest); | |
return next.handle(authRequest).pipe( | |
filter(event => event instanceof HttpResponse), | |
tap((event: HttpResponse<any>) => { |
OlderNewer