Table of Contents

Class ScriptPathAttribute

Namespace
Godot
Assembly
GodotSharp.dll

An attribute that contains the path to the object's script.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ScriptPathAttribute : Attribute
Inheritance
ScriptPathAttribute
Inherited Members

Constructors

ScriptPathAttribute(string)

Constructs a new ScriptPathAttribute instance.

public ScriptPathAttribute(string path)

Parameters

path string

The file path to the script

Properties

Path

File path to the script.

public string Path { get; }

Property Value

string