using System.Diagnostics; using System.Collections; using System.Collections.Generic; using System; using Godot; namespace Rokojori { public class Paths { public static readonly string AddonLibraryPath = "res://addons/rokojori_action_library/"; public static readonly string RuntimePath = "res://addons/rokojori_action_library/Runtime/"; public static string ProjectPath() { return ProjectSettings.GlobalizePath( "res://" ); } public static string ToGlobal( string path ) { if ( path.StartsWith( "res://" ) ) { return path.Replace( "res://", ProjectPath() ); } return path; } } }