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 Sirenix.OdinInspector; | |
| using Sirenix.OdinInspector.Editor; | |
| using Sirenix.Utilities.Editor; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.IO; | |
| using UnityEditor; | |
| using UnityEngine; | |
| public class ServerFileExplorer : OdinMenuEditorWindow |
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 System.Globalization; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Security.Cryptography; | |
| using UnityEditor; | |
| using UnityEditor.IMGUI.Controls; | |
| using UnityEngine; | |
| using Object = UnityEngine.Object; |
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
| # A script for single [double] click uploading to itch using butler | |
| # by Nothke | |
| # | |
| # Requirements: | |
| # - Installed butler: https://itch.io/docs/butler/ | |
| # - butler added to PATH | |
| # | |
| # How to use: | |
| # 1. Put this script in your project folder, | |
| # 2. Edit the script by adding project names and ignores below |
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 Sirenix.OdinInspector; | |
| using UnityEngine; | |
| namespace VisualNovelFramework | |
| { | |
| public class VNDialogueController : MonoBehaviour | |
| { | |
| [SerializeField] | |
| private TMPShakeParser shakeParser = null; | |
| [SerializeField] |
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_EDITOR | |
| namespace Sirenix.OdinInspector.Demos.RPGEditor | |
| { | |
| public class ConsumableItem : Item | |
| { | |
| [SuffixLabel("seconds ", true)] | |
| [BoxGroup(STATS_BOX_GROUP)] | |
| public float Cooldown; | |
| [HorizontalGroup(STATS_BOX_GROUP + "/Dur")] |
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
| *.cs diff=csharp | |
| # Macro attribute, linguist-generated means the file is ignored for the | |
| # repository's language statistics and diffs are hidden by default | |
| [attr]unity-yaml-file -text -merge=unityamlmerge linguist-generated | |
| # Macro attribute for LFS files | |
| [attr]lfs-file filter=lfs diff=lfs merge=lfs -text | |
| ### Unity YAML Files ### |
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
| // Rebinding using InputSystem from Prokuv'o | |
| using System; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.InputSystem; | |
| public class Rebinder : 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
| // Based on the Unity Wiki FloatingOrigin script by Peter Stirling | |
| // URL: http://wiki.unity3d.com/index.php/Floating_Origin | |
| using UnityEngine; | |
| using UnityEngine.SceneManagement; | |
| public class FloatingOrigin : MonoBehaviour | |
| { | |
| [Tooltip("Point of reference from which to check the distance to origin.")] | |
| public Transform ReferenceObject = 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; | |
| namespace VariableChangedEventPattern | |
| { | |
| class Program | |
| { | |
| private static void Main() | |
| { | |
| Game.Score.Changed += OnScoreChanged; | |
| Game.Score.Value += 200; |
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 Sirenix.OdinInspector.Editor; | |
| using Sirenix.Utilities; | |
| using Sirenix.Utilities.Editor; | |
| using UnityEditor; | |
| public class DbBrowser : OdinMenuEditorWindow | |
| { | |
| [MenuItem("Db/Browser")] | |
| public static void Open() | |
| { |