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
| # .\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
| $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
| [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
| // ------------------------------------------------------------------------------------ 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
| 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
| 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; | |
| using System.Linq; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using UnityEngine.UIElements; | |
| namespace MultiplayerARPG | |
| { | |
| public class ClassList : EditorWindow | |
| { |
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
| # Put the Unity projects you want to back up in this list, then this is the file that you run to perform the backups. | |
| # This script calls the main script and passes in the below data for each project you want to backup. | |
| &C:\Users\***YOUR_USER_NAME***\.backup\_projects\projects_backup.ps1 -Project My_killer_game -Source E:\_unity\_projects\My_killer_game | |
| &C:\Users\***YOUR_USER_NAME***\.backup\_projects\projects_backup.ps1 -Project My_other_killer_game -Source E:\_unity\_projects\My_other_killer_game | |
| # ^-- Change to your username and location of ^-- Name of Project ^ Project source file location | |
| # project_backup.ps1 and Unity.fltr file |
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
| #-------------------------------------------------------------------------------------------------------------- | |
| # This has been updated and changed to include several new features. See the link below for updated version: -- | |
| # https://gist.github.com/instance-id/3161cc2b5343db5bc3cef494d83a7449 ---------------------------------------- | |
| #-------------------------------------------------------------------------------------------------------------- | |
| # Replace folder paths in $projectLocations array (line 20) with your actual Unity project folder path(s) | |
| # Usage: .\unityfixlayout.ps1 -Project MyProjectName | |
| Param ( | |
| [Parameter()] |