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
using System; | |
using UniRx; | |
namespace MyNamespace.Sequencing { | |
/// <summary> | |
/// Defines functionality for providing observable sequencing capabilities. | |
/// </summary> | |
public interface ISequencer : IObservable<Unit> { | |
/// <summary> | |
/// Adds the given <paramref name="observable"/> to this <see cref="ISequencer"/>. |
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
using System; | |
using UniRx; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.XR.ARFoundation; | |
using MyNamespace.Utils; | |
using MyNamespace.Extensions; | |
namespace MyNamespace.AR | |
{ |
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
using System; | |
using System.Linq; | |
using UniRx; | |
using UnityEngine; | |
using UnityEngine.Rendering; | |
using UnityEngine.UI; | |
using MyNamespace.Extensions; | |
namespace MyNamespace.Utils | |
{ |
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
FROM ubuntu:focal | |
ENV LANG=C.UTF-8 | |
ENV JAVA_VERSION=17 | |
# Android SDK | |
# https://developer.android.com/studio#downloads | |
ENV ANDROID_CMDLINE_TOOLS_VERSION=11076708 | |
ENV ANDROID_PLATFORM_VERSION=34 |
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
import 'package:dio/dio.dart'; | |
import 'package:my_api/api.dart'; | |
/// Creates instance of [Dio] to be used in the remote layer of the app. | |
Dio createDio(BaseOptions baseConfiguration) { | |
var dio = Dio(baseConfiguration); | |
dio.interceptors.addAll([ | |
// interceptor to retry failed requests | |
// interceptor to add bearer token to requests | |
// interceptor to refresh access tokens |
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
using UnityEngine; | |
using System; | |
public class ResourcePathAttribute : PropertyAttribute { | |
public Type resourceType; | |
public ResourcePathAttribute(Type t) { | |
this.resourceType = t; | |
} | |
} |
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
using System.Collections; | |
using System.Diagnostics; | |
using UnityEngine; | |
public enum TimeLayer { | |
//Unity's time | |
GameTime, | |
//Custom time layer for UI | |
MenuTime, | |
//Unity's unscaled time |