Älä osta täältä spot sähkösopimusta!
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
| // first run the launcher and texturing mode enabled. | |
| // https://github.com/YanWenKun/Hunyuan3D-2-WinPortable | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.IO; | |
| using System.Text; | |
| using System.Text.RegularExpressions; | |
| using System.Threading.Tasks; |
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
| // chatgpt | |
| ( | |
| -- SETTINGS | |
| local tolerance = 0.001 | |
| local ignoreSize = false | |
| fn compareFloat a b = | |
| ( | |
| if a < b then -1 | |
| else if a > b then 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
| // https://discussions.unity.com/t/add-opened-projects-icon-to-the-unity-icon-in-os-taskbar-dock-feature-request/790177/6 | |
| #if UNITY_EDITOR_OSX | |
| using System; | |
| using System.IO; | |
| using System.Runtime.InteropServices; | |
| using System.Text; | |
| using UnityEditor; | |
| using UnityEditor.Build; | |
| 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 UnityEngine; | |
| using UnityEngine.InputSystem; | |
| using UnityEngine.XR.ARFoundation; | |
| public class TogglePassthrough : MonoBehaviour | |
| { | |
| [SerializeField] | |
| private InputActionProperty toggleAction; | |
| private ARCameraManager arCameraManager; |
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 Unity.XR.CoreUtils; | |
| using UnityEngine.InputSystem; | |
| using UnityEngine.XR.ARSubsystems; | |
| namespace UnityEngine.XR.ARFoundation.Samples | |
| { | |
| [RequireComponent(typeof(ARAnchorManager))] | |
| [RequireComponent(typeof(ARRaycastManager))] | |
| public class AnchorCreatorV2 : MonoBehaviour |
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.Collections; | |
| using System.Collections.Generic; | |
| using Pathfinding; | |
| using Pathfinding.RVO; | |
| /** Adds a GridGraph as RVO obstacles. | |
| * Add this to a scene in which has a GridGraph based graph, when scanning (or loading from cache) the graph | |
| * it will be added as RVO obstacles to the RVOSimulator (which must exist in the scene). | |
| * |
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 mouse click anywhere on window | |
| var theWholeWindowRect = new Rect(0, 0, position.width, position.height); | |
| if (GUI.Button(theWholeWindowRect, "", GUIStyle.none)) | |
| { | |
| GUI.FocusControl(null); | |
| } | |
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.IO; | |
| using System.Linq; | |
| using UnityEditor; | |
| using UnityEngine; | |
| /// <summary> | |
| /// NoiseCrimeStudio OneShots are single scripts that provide specific funactionality. | |
| /// </summary> | |
| namespace NoiseCrimeStudios.OneShot.Editor |
NewerOlder