Path: blob/master/modules/mono/glue/GodotSharp/GodotSharp/Core/Attributes/ScriptPathAttribute.cs
10987 views
using System; namespace Godot { /// <summary> /// An attribute that contains the path to the object's script. /// </summary> [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)] public sealed class ScriptPathAttribute : Attribute { /// <summary> /// File path to the script. /// </summary> public string Path { get; } /// <summary> /// Constructs a new ScriptPathAttribute instance. /// </summary> /// <param name="path">The file path to the script</param> public ScriptPathAttribute(string path) { Path = path; } } }