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.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEditor; | |
| [ExecuteInEditMode] | |
| public class DrawSizeGizmo : MonoBehaviour { | |
| public bool enabled = true; | |
| void OnDrawGizmos () { |
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
| #define STOP_EXTRACTION_WHEN_WINDOW_CLOSED | |
| using System; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using System.IO.Compression; | |
| using System.Reflection; | |
| using System.Text; | |
| using System.Threading; | |
| using UnityEditor; |
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
| /* | |
| * Author - https://twitter.com/JSqearle | |
| * License - CC BY-SA | |
| * Asset Dependencies: | |
| * - https://assetstore.unity.com/packages/tools/sprite-management/shapes2d-procedural-sprites-and-ui-62586 (Free) | |
| * - https://assetstore.unity.com/packages/tools/utilities/odin-inspector-and-serializer-89041 (optional - can be removed) | |
| * - https://assetstore.unity.com/packages/tools/animation/dotween-hotween-v2-27676 (Free) | |
| */ | |
| using DG.Tweening; |
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
| // unity version : https://unitycoder.com/blog/2019/05/09/fast-algorithm-for-corner-detection-in-unity/ | |
| // NOTE this is not optimized in any way | |
| // original source https://docs.opencv.org/3.0-beta/doc/py_tutorials/py_feature2d/py_fast/py_fast.html | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| public class FeaturesAcceleratedSegmentTest : 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
| // Copyright (C) 2014 - 2016 Stephan Bouchard - All Rights Reserved | |
| // This code can only be used under the standard Unity Asset Store End User License Agreement | |
| // A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms | |
| using System.Collections; | |
| using TMPro; | |
| using UnityEngine; | |
| namespace Assets.Scripts | |
| { |
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
| /** -- | |
| ** Copyright (C) 2019 by Josh van den Heever | |
| ** | |
| ** Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| ** this software and associated documentation files (the "Software"), to deal in | |
| ** the Software without restriction, including without limitation the rights to | |
| ** use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies | |
| ** of the Software, and to permit persons to whom the Software is furnished to | |
| ** do so, subject to the following conditions: | |
| ** |
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 DG.Tweening; | |
| using UnityEngine; | |
| using UnityEditor; | |
| public class UISlideTween : MonoBehaviour | |
| { | |
| [HideInInspector] | |
| public Vector3 enterPosition, enterScale, targetPosition, targetScale, exitPosition, exitScale; | |
| [HideInInspector] |
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.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| #if UNITY_2017_4 || UNITY_2018_2_OR_NEWER | |
| using UnityEngine.U2D; | |
| #endif | |
| using Sprites = UnityEngine.Sprites; | |
| #if UNITY_EDITOR |
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.Diagnostics; | |
| using System.Runtime.InteropServices; | |
| using System.Windows; | |
| using System.Windows.Interop; | |
| namespace KinectRun.Host.Controls | |
| { | |
| // GameHost is a FrameworkElement and can be added to controls like so: | |
| // var gameHost = new GameHost(container.ActualWidth, container.ActualHeight); |
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
| package com.pigeoncoop.extensions; | |
| import com.badlogic.gdx.Gdx; | |
| import com.badlogic.gdx.math.*; | |
| import com.badlogic.gdx.utils.Array; | |
| /** | |
| * 3D transform system similar to Unity3D for libGDX | |
| * @author Tim Aksu - [email protected] | |
| */ |
NewerOlder