Searcher.json
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 Unity.Burst; | |
| using Unity.Collections; | |
| using Unity.Entities; | |
| using Unity.Jobs; | |
| using Unity.Mathematics; | |
| using Unity.Physics; | |
| using Unity.Physics.Extensions; | |
| using Unity.Physics.Systems; | |
| using Unity.Transforms; | |
| using UnityEngine; |
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.Generic; | |
| using System.Linq; | |
| using System.Threading.Tasks; | |
| using instance.id.ECS.Editor; | |
| using Sirenix.OdinInspector; | |
| using Unity.Entities; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.AddressableAssets; | |
| using UnityEngine.ResourceManagement.AsyncOperations; |
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
| // ------------------------------------------------------------------------------------ AddressInfo | |
| // --- AddressInfo -------------------------------------------------------------------------------- | |
| public static class AddressInfo | |
| { | |
| public static string prefabGroup = "Prefabs"; | |
| public static string prefabLabel = "Prefab"; | |
| } | |
| // ------------------------------------------------------------------------------ AddressableHelper | |
| // --- AddressableHelper -------------------------------------------------------------------------- |
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
| [Button("Run Performance Test")] | |
| public void PerformanceGauge() | |
| { | |
| for (int t = 0; t < 10; t++) | |
| { | |
| // ------------------------------------------------------------------------------ Test1 | |
| // -- Waypoint Test1 Comparison using '==' -------------------------------------------- | |
| var test1Tagged = new Dictionary<GameObject, bool>(); | |
| var test1Count = 0; | |
| var test1Stopwatch = new Stopwatch(); |
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
| $param1 = $args[0] | |
| write-host $param1 | |
| Write-Host "Begin building site files $param1..." | |
| $sourceDirectory = "E:/GitHub/instance-id.github.io/project_builder" | |
| # Build the project | |
| & Set-Location $sourceDirectory | |
| if($param1 -eq "settings"){ | |
| & node toml.js replace -c .\searcher-settings.json |
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
| # .\build.ps1 -Zip -Version v0.1.0 | |
| Param ( | |
| [Parameter()] | |
| [string]$Version, | |
| [switch]$Zip | |
| ) | |
| if ($Version) { | |
| Write-Host "Building $Version..." | |
| } else { |
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:firedart/auth/user_gateway.dart'; | |
| class FBUserData{ | |
| String _fname; | |
| String _lname; | |
| String _serialNum; | |
| String _contactEmail; | |
| String _verified; | |
| } |
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 'dart:io'; | |
| import 'package:firedart/firedart.dart'; | |
| import 'package:hive/hive.dart'; | |
| /// Stores tokens using a Hive store. | |
| /// Depends on the Hive plugin: https://pub.dev/packages/hive | |
| class HiveStore extends TokenStore { | |
| static const keyToken = "auth_token"; |
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
| #if UNITY_2019_1_OR_NEWER | |
| using UnityEditor; | |
| using UnityEngine; | |
| [InitializeOnLoad] | |
| public class EditorCameraZoomWithScrollWheel | |
| { | |
| private const float CAMERA_SPEED = -0.25f; | |
| private static bool rmbDown = false; |