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
<scheme name="Rider Dark Monokai By LuviKunG" version="142" parent_scheme="Darcula"> | |
<metaInfo> | |
<property name="ide">Rider</property> | |
<property name="ideVersion">2024.3.7.0.0</property> | |
<property name="originalScheme">Rider Dark Monokai By LuviKunG</property> | |
</metaInfo> | |
<colors> | |
<option name="ADDED_LINES_COLOR" value="2c4722" /> | |
<option name="ANNOTATIONS_COLOR" value="909090" /> | |
<option name="BookmarkIcon.background" value="d9b72b" /> |
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 2025 Thanut Panichyotai (@LuviKunG) All Rights Reserved. | |
#include "SimpleSpectatorPawn.h" | |
#include "EnhancedInputComponent.h" | |
#include "EnhancedInputSubsystems.h" | |
ASimpleSpectatorPawn::ASimpleSpectatorPawn(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) | |
{ | |
PrimaryActorTick.bCanEverTick = true; |
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
@echo off | |
for /r %%i in (.DS_Store) do (del "%%i") | |
pause |
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 UnityEditor; | |
using UnityEngine; | |
namespace LuviKunG.Editor | |
{ | |
using UnityObject = UnityEngine.Object; | |
/// <summary> |
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 UnityEditor; | |
using UnityEngine; | |
namespace LuviKunG.Editor | |
{ | |
using UnityObject = UnityEngine.Object; | |
/// <summary> |
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
namespace LuviKunG | |
{ | |
static class Obfuscator | |
{ | |
/// <summary> | |
/// Obfuscate string with key. | |
/// </summary> | |
/// <param name="key">Key to obfuscate.</param> | |
/// <param name="str">String to obfuscate.</param> | |
/// <returns>Obfuscated byte array.</returns> |
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 by Thanut Panichyotai (@LuviKunG) | |
// CC BY-SA 4.0 | |
// https://creativecommons.org/licenses/by-sa/4.0/ | |
#include "Widgets/RichTextBlockInputActionDecorator.h" | |
#include "EnhancedInputSubsystems.h" | |
#include "InputMappingContext.h" | |
#include "Fonts/FontMeasure.h" | |
#include "Kismet/GameplayStatics.h" |
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.Runtime.Serialization; | |
namespace LuviKunG.FSM | |
{ | |
/// <summary> | |
/// Exception for the state machine. | |
/// </summary> | |
public class FSMException : Exception | |
{ |
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
namespace UnityEngine | |
{ | |
using EventSystems; | |
/// <summary> | |
/// User Interface Behaviour. | |
/// Inherit from this class to create a User Interface Behaviour | |
/// which will have a reference to the <see cref="RectTransform"/>. | |
/// </summary> | |
public abstract class UserInterfaceBehaviour : UIBehaviour |
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.Threading.Tasks; | |
namespace LuviKunG.Extensions | |
{ | |
public static class TaskSchedulerExtensions | |
{ | |
public static Task ContinueWithCurrentSynchronizationContext(this Task task, Action<Task> action) | |
{ | |
return task.ContinueWith(action, TaskScheduler.FromCurrentSynchronizationContext()); |
NewerOlder