This file contains 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.Threading; | |
Console.Beep(658, 125); | |
Console.Beep(1320, 500); | |
Console.Beep(990, 250); | |
Console.Beep(1056, 250); | |
Console.Beep(1188, 250); | |
Console.Beep(1320, 125); | |
Console.Beep(1188, 125); | |
Console.Beep(1056, 250); |
This file contains 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 © 2014 Pixelnest Studio | |
// This file is subject to the terms and conditions defined in | |
// file 'LICENSE.md', which is part of this source code package. | |
using UnityEngine; | |
namespace Pixelnest | |
{ | |
/// <summary> | |
/// Trigger an event is a cheat code is recognized | |
/// </summary> |
This file contains 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
#ifdef _WIN32 | |
// Use discrete GPU by default. | |
extern "C" { | |
// http://developer.download.nvidia.com/devzone/devcenter/gamegraphics/files/OptimusRenderingPolicies.pdf | |
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001; | |
| |
// http://developer.amd.com/community/blog/2015/10/02/amd-enduro-system-for-developers/ | |
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1; | |
} | |
#endif |
This file contains 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
#include "MyCheatManager.h" | |
#include "Engine/Console.h" | |
#include "AssetRegistryModule.h" | |
DEFINE_LOG_CATEGORY(LogCheatManager); | |
void UMyCheatManager::AddWorkers(int32 NumWorkers) | |
{ | |
UE_LOG(LogCheatManager, Log, TEXT("%s: AddWorkers: %i"), *GetName(), NumWorkers); | |
} |