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 Cysharp.Threading.Tasks; | |
| /// <summary> | |
| /// Provides helper methods for working with UniTask, including methods to await multiple tasks | |
| /// and capture their results or exceptions. | |
| /// </summary> | |
| public class UniTaskHelpers { | |
| /// <summary> | |
| /// Awaits two UniTasks and returns a tuple containing the results or exceptions for each task. |
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
| <Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"> | |
| <TypePattern DisplayName="Non-reorderable types"> | |
| <TypePattern.Match> | |
| <Or> | |
| <And> | |
| <Kind Is="Interface" /> | |
| <Or> | |
| <HasAttribute Name="System.Runtime.InteropServices.InterfaceTypeAttribute" /> | |
| <HasAttribute Name="System.Runtime.InteropServices.ComImport" /> | |
| </Or> |
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 ODIN_INSPECTOR | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using Sirenix.OdinInspector.Editor; | |
| using Sirenix.Utilities; | |
| using Sirenix.Utilities.Editor; | |
| using UnityEditor; | |
| 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
| import sys | |
| from PyQt5.QtWidgets import QApplication | |
| from PyQt5.QtSvg import QSvgWidget | |
| from io import BytesIO | |
| import matplotlib.pyplot as plt | |
| # matplotlib: force computer modern font set | |
| plt.rc('mathtext', fontset='cm') |
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
| QTabWidget::pane { | |
| border: 1px solid black; | |
| background: white; | |
| } | |
| QTabWidget::tab-bar:top { | |
| top: 1px; | |
| } | |
| QTabWidget::tab-bar:bottom { |