├── .gitignore ├── Config ├── DefaultEditor.ini ├── DefaultEngine.ini └── DefaultGame.ini ├── Content ├── EU_EditorTest.uasset └── TestMap.umap ├── FilePicker.uproject ├── Plugins └── FilePickerPlugin │ ├── .gitignore │ ├── FilePickerPlugin.uplugin │ └── Source │ ├── FilePickerPlugin │ ├── FilePickerPlugin.Build.cs │ ├── Private │ │ ├── FilePickerPlugin.cpp │ │ └── FilePickerPluginBPLibrary.cpp │ └── Public │ │ ├── FilePickerPlugin.h │ │ └── FilePickerPluginBPLibrary.h │ └── FilePickerPluginEd │ ├── FilePickerPluginEd.Build.cs │ ├── Private │ └── FilePickerPluginEd.cpp │ └── Public │ └── FilePickerPluginEd.h └── Source ├── FilePicker.Target.cs ├── FilePicker ├── FilePicker.Build.cs ├── FilePicker.cpp ├── FilePicker.h ├── FilePickerGameModeBase.cpp └── FilePickerGameModeBase.h └── FilePickerEditor.Target.cs /.gitignore: -------------------------------------------------------------------------------- 1 | /.vs 2 | /Binaries 3 | /Build 4 | /Intermediate 5 | /Saved 6 | /FilePicker.sln -------------------------------------------------------------------------------- /Config/DefaultEditor.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naotsun19B/FilePicker/d0e32ae56e3599c554b8a9b4259774b3f8edecbc/Config/DefaultEditor.ini -------------------------------------------------------------------------------- /Config/DefaultEngine.ini: -------------------------------------------------------------------------------- 1 | [URL] 2 | [/Script/Engine.RendererSettings] 3 | r.DefaultFeature.AutoExposure.ExtendDefaultLuminanceRange=True 4 | 5 | [/Script/HardwareTargeting.HardwareTargetingSettings] 6 | TargetedHardwareClass=Desktop 7 | AppliedTargetedHardwareClass=Desktop 8 | DefaultGraphicsPerformance=Maximum 9 | AppliedDefaultGraphicsPerformance=Maximum 10 | 11 | [/Script/Engine.PhysicsSettings] 12 | DefaultGravityZ=-980.000000 13 | DefaultTerminalVelocity=4000.000000 14 | DefaultFluidFriction=0.300000 15 | SimulateScratchMemorySize=262144 16 | RagdollAggregateThreshold=4 17 | TriangleMeshTriangleMinAreaThreshold=5.000000 18 | bEnableShapeSharing=False 19 | bEnablePCM=True 20 | bEnableStabilization=False 21 | bWarnMissingLocks=True 22 | bEnable2DPhysics=False 23 | PhysicErrorCorrection=(PingExtrapolation=0.100000,PingLimit=100.000000,ErrorPerLinearDifference=1.000000,ErrorPerAngularDifference=1.000000,MaxRestoredStateError=1.000000,MaxLinearHardSnapDistance=400.000000,PositionLerp=0.000000,AngleLerp=0.400000,LinearVelocityCoefficient=100.000000,AngularVelocityCoefficient=10.000000,ErrorAccumulationSeconds=0.500000,ErrorAccumulationDistanceSq=15.000000,ErrorAccumulationSimilarity=100.000000) 24 | LockedAxis=Invalid 25 | DefaultDegreesOfFreedom=Full3D 26 | BounceThresholdVelocity=200.000000 27 | FrictionCombineMode=Average 28 | RestitutionCombineMode=Average 29 | MaxAngularVelocity=3600.000000 30 | MaxDepenetrationVelocity=0.000000 31 | ContactOffsetMultiplier=0.020000 32 | MinContactOffset=2.000000 33 | MaxContactOffset=8.000000 34 | bSimulateSkeletalMeshOnDedicatedServer=True 35 | DefaultShapeComplexity=CTF_UseSimpleAndComplex 36 | bDefaultHasComplexCollision=True 37 | bSuppressFaceRemapTable=False 38 | bSupportUVFromHitResults=False 39 | bDisableActiveActors=False 40 | bDisableKinematicStaticPairs=False 41 | bDisableKinematicKinematicPairs=False 42 | bDisableCCD=False 43 | bEnableEnhancedDeterminism=False 44 | MaxPhysicsDeltaTime=0.033333 45 | bSubstepping=False 46 | bSubsteppingAsync=False 47 | MaxSubstepDeltaTime=0.016667 48 | MaxSubsteps=6 49 | SyncSceneSmoothingFactor=0.000000 50 | InitialAverageFrameRate=0.016667 51 | PhysXTreeRebuildRate=10 52 | DefaultBroadphaseSettings=(bUseMBPOnClient=False,bUseMBPOnServer=False,MBPBounds=(Min=(X=0.000000,Y=0.000000,Z=0.000000),Max=(X=0.000000,Y=0.000000,Z=0.000000),IsValid=0),MBPNumSubdivs=2) 53 | 54 | [/Script/EngineSettings.GameMapsSettings] 55 | EditorStartupMap=/Game/TestMap.TestMap 56 | GameDefaultMap=/Game/TestMap.TestMap 57 | 58 | -------------------------------------------------------------------------------- /Config/DefaultGame.ini: -------------------------------------------------------------------------------- 1 | [/Script/EngineSettings.GeneralProjectSettings] 2 | ProjectID=DFC50823474F3F5FAA90B193604206AF 3 | -------------------------------------------------------------------------------- /Content/EU_EditorTest.uasset: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naotsun19B/FilePicker/d0e32ae56e3599c554b8a9b4259774b3f8edecbc/Content/EU_EditorTest.uasset -------------------------------------------------------------------------------- /Content/TestMap.umap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naotsun19B/FilePicker/d0e32ae56e3599c554b8a9b4259774b3f8edecbc/Content/TestMap.umap -------------------------------------------------------------------------------- /FilePicker.uproject: -------------------------------------------------------------------------------- 1 | { 2 | "FileVersion": 3, 3 | "EngineAssociation": "4.22", 4 | "Category": "", 5 | "Description": "", 6 | "Modules": [ 7 | { 8 | "Name": "FilePicker", 9 | "Type": "Runtime", 10 | "LoadingPhase": "Default" 11 | } 12 | ], 13 | "Plugins": [ 14 | { 15 | "Name": "SteamVR", 16 | "Enabled": false 17 | }, 18 | { 19 | "Name": "OculusVR", 20 | "Enabled": false 21 | } 22 | ] 23 | } -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/.gitignore: -------------------------------------------------------------------------------- 1 | /Binaries 2 | /Intermediate 3 | /Resources -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/FilePickerPlugin.uplugin: -------------------------------------------------------------------------------- 1 | { 2 | "FileVersion": 3, 3 | "Version": 1, 4 | "VersionName": "1.0", 5 | "FriendlyName": "FilePickerPlugin", 6 | "Description": "", 7 | "Category": "Other", 8 | "CreatedBy": "Naotsun", 9 | "CreatedByURL": "", 10 | "DocsURL": "", 11 | "MarketplaceURL": "", 12 | "SupportURL": "", 13 | "CanContainContent": true, 14 | "IsBetaVersion": false, 15 | "Installed": false, 16 | "Modules": [ 17 | { 18 | "Name": "FilePickerPlugin", 19 | "Type": "Runtime", 20 | "LoadingPhase": "Default" 21 | }, 22 | { 23 | "Name": "FilePickerPluginEd", 24 | "Type": "Developer", 25 | "LoadingPhase": "PreDefault" 26 | } 27 | ] 28 | } -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/Source/FilePickerPlugin/FilePickerPlugin.Build.cs: -------------------------------------------------------------------------------- 1 | // Some copyright should be here... 2 | 3 | using UnrealBuildTool; 4 | 5 | public class FilePickerPlugin : ModuleRules 6 | { 7 | public FilePickerPlugin(ReadOnlyTargetRules Target) : base(Target) 8 | { 9 | PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; 10 | 11 | PublicIncludePaths.AddRange( 12 | new string[] { 13 | // ... add public include paths required here ... 14 | } 15 | ); 16 | 17 | 18 | PrivateIncludePaths.AddRange( 19 | new string[] { 20 | // ... add other private include paths required here ... 21 | } 22 | ); 23 | 24 | 25 | PublicDependencyModuleNames.AddRange( 26 | new string[] 27 | { 28 | "Core", 29 | // ... add other public dependencies that you statically link with here ... 30 | } 31 | ); 32 | 33 | 34 | PrivateDependencyModuleNames.AddRange( 35 | new string[] 36 | { 37 | "CoreUObject", 38 | "Engine", 39 | "Slate", 40 | "SlateCore", 41 | // ... add private dependencies that you statically link with here ... 42 | } 43 | ); 44 | 45 | 46 | DynamicallyLoadedModuleNames.AddRange( 47 | new string[] 48 | { 49 | // ... add any modules that your module loads dynamically here ... 50 | } 51 | ); 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/Source/FilePickerPlugin/Private/FilePickerPlugin.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. 2 | 3 | #include "FilePickerPlugin.h" 4 | 5 | #define LOCTEXT_NAMESPACE "FFilePickerPluginModule" 6 | 7 | void FFilePickerPluginModule::StartupModule() 8 | { 9 | // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module 10 | 11 | } 12 | 13 | void FFilePickerPluginModule::ShutdownModule() 14 | { 15 | // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading, 16 | // we call this function before unloading the module. 17 | 18 | } 19 | 20 | #undef LOCTEXT_NAMESPACE 21 | 22 | IMPLEMENT_MODULE(FFilePickerPluginModule, FilePickerPlugin) -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/Source/FilePickerPlugin/Private/FilePickerPluginBPLibrary.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naotsun19B/FilePicker/d0e32ae56e3599c554b8a9b4259774b3f8edecbc/Plugins/FilePickerPlugin/Source/FilePickerPlugin/Private/FilePickerPluginBPLibrary.cpp -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/Source/FilePickerPlugin/Public/FilePickerPlugin.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "Modules/ModuleManager.h" 6 | 7 | class FFilePickerPluginModule : public IModuleInterface 8 | { 9 | public: 10 | 11 | /** IModuleInterface implementation */ 12 | virtual void StartupModule() override; 13 | virtual void ShutdownModule() override; 14 | }; 15 | 16 | DEFINE_LOG_CATEGORY_STATIC(FilePickerPlugin, Log, All); -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/Source/FilePickerPlugin/Public/FilePickerPluginBPLibrary.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Naotsun19B/FilePicker/d0e32ae56e3599c554b8a9b4259774b3f8edecbc/Plugins/FilePickerPlugin/Source/FilePickerPlugin/Public/FilePickerPluginBPLibrary.h -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/Source/FilePickerPluginEd/FilePickerPluginEd.Build.cs: -------------------------------------------------------------------------------- 1 | // Some copyright should be here... 2 | 3 | using UnrealBuildTool; 4 | 5 | public class FilePickerPluginEd : ModuleRules 6 | { 7 | public FilePickerPluginEd(ReadOnlyTargetRules Target) : base(Target) 8 | { 9 | PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs; 10 | 11 | PublicDependencyModuleNames.AddRange( 12 | new string[] 13 | { 14 | "Core", 15 | "FilePickerPlugin", 16 | // ... add other public dependencies that you statically link with here ... 17 | } 18 | ); 19 | 20 | PrivateDependencyModuleNames.AddRange( 21 | new string[] 22 | { 23 | "CoreUObject", 24 | "Engine", 25 | "Slate", 26 | "SlateCore", 27 | // ... add private dependencies that you statically link with here ... 28 | } 29 | ); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/Source/FilePickerPluginEd/Private/FilePickerPluginEd.cpp: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. 2 | 3 | #include "FilePickerPluginEd.h" 4 | 5 | #define LOCTEXT_NAMESPACE "FFilePickerPluginEdModule" 6 | 7 | void FFilePickerPluginEdModule::StartupModule() 8 | { 9 | // This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module 10 | 11 | } 12 | 13 | void FFilePickerPluginEdModule::ShutdownModule() 14 | { 15 | // This function may be called during shutdown to clean up your module. For modules that support dynamic reloading, 16 | // we call this function before unloading the module. 17 | 18 | } 19 | 20 | #undef LOCTEXT_NAMESPACE 21 | 22 | IMPLEMENT_MODULE(FFilePickerPluginEdModule, FilePickerPluginEd) -------------------------------------------------------------------------------- /Plugins/FilePickerPlugin/Source/FilePickerPluginEd/Public/FilePickerPluginEd.h: -------------------------------------------------------------------------------- 1 | // Copyright 1998-2019 Epic Games, Inc. All Rights Reserved. 2 | 3 | #pragma once 4 | 5 | #include "Modules/ModuleManager.h" 6 | 7 | class FFilePickerPluginEdModule : public IModuleInterface 8 | { 9 | public: 10 | 11 | /** IModuleInterface implementation */ 12 | virtual void StartupModule() override; 13 | virtual void ShutdownModule() override; 14 | }; -------------------------------------------------------------------------------- /Source/FilePicker.Target.cs: -------------------------------------------------------------------------------- 1 | // Fill out your copyright notice in the Description page of Project Settings. 2 | 3 | using UnrealBuildTool; 4 | using System.Collections.Generic; 5 | 6 | public class FilePickerTarget : TargetRules 7 | { 8 | public FilePickerTarget(TargetInfo Target) : base(Target) 9 | { 10 | Type = TargetType.Game; 11 | 12 | ExtraModuleNames.AddRange( new string[] { "FilePicker" } ); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /Source/FilePicker/FilePicker.Build.cs: -------------------------------------------------------------------------------- 1 | // Fill out your copyright notice in the Description page of Project Settings. 2 | 3 | using UnrealBuildTool; 4 | 5 | public class FilePicker : ModuleRules 6 | { 7 | public FilePicker(ReadOnlyTargetRules Target) : base(Target) 8 | { 9 | PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; 10 | 11 | PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); 12 | 13 | PrivateDependencyModuleNames.AddRange(new string[] { }); 14 | 15 | // Uncomment if you are using Slate UI 16 | // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" }); 17 | 18 | // Uncomment if you are using online features 19 | // PrivateDependencyModuleNames.Add("OnlineSubsystem"); 20 | 21 | // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Source/FilePicker/FilePicker.cpp: -------------------------------------------------------------------------------- 1 | // Fill out your copyright notice in the Description page of Project Settings. 2 | 3 | #include "FilePicker.h" 4 | #include "Modules/ModuleManager.h" 5 | 6 | IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, FilePicker, "FilePicker" ); 7 | -------------------------------------------------------------------------------- /Source/FilePicker/FilePicker.h: -------------------------------------------------------------------------------- 1 | // Fill out your copyright notice in the Description page of Project Settings. 2 | 3 | #pragma once 4 | 5 | #include "CoreMinimal.h" 6 | 7 | -------------------------------------------------------------------------------- /Source/FilePicker/FilePickerGameModeBase.cpp: -------------------------------------------------------------------------------- 1 | // Fill out your copyright notice in the Description page of Project Settings. 2 | 3 | 4 | #include "FilePickerGameModeBase.h" 5 | 6 | -------------------------------------------------------------------------------- /Source/FilePicker/FilePickerGameModeBase.h: -------------------------------------------------------------------------------- 1 | // Fill out your copyright notice in the Description page of Project Settings. 2 | 3 | #pragma once 4 | 5 | #include "CoreMinimal.h" 6 | #include "GameFramework/GameModeBase.h" 7 | #include "FilePickerGameModeBase.generated.h" 8 | 9 | /** 10 | * 11 | */ 12 | UCLASS() 13 | class FILEPICKER_API AFilePickerGameModeBase : public AGameModeBase 14 | { 15 | GENERATED_BODY() 16 | 17 | }; 18 | -------------------------------------------------------------------------------- /Source/FilePickerEditor.Target.cs: -------------------------------------------------------------------------------- 1 | // Fill out your copyright notice in the Description page of Project Settings. 2 | 3 | using UnrealBuildTool; 4 | using System.Collections.Generic; 5 | 6 | public class FilePickerEditorTarget : TargetRules 7 | { 8 | public FilePickerEditorTarget(TargetInfo Target) : base(Target) 9 | { 10 | Type = TargetType.Editor; 11 | 12 | ExtraModuleNames.AddRange( new string[] { "FilePicker" } ); 13 | } 14 | } 15 | --------------------------------------------------------------------------------