ScriptExtension
ScriptExtension.swift:8class ScriptExtension
Superclasses
class Script
A class stored as a resource.
Citizens in SwiftGodot
Conformances
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.protocol Identifiable<ID>
A class of types whose instances hold the value of an entity with stable identity.
protocol VariantRepresentable
Types that conform to VariantRepresentable can be stored directly in
Variant
with no conversion. These include all of the Variant types from Godot (for exampleGString
,Rect
,Plane
), Godot objects (those that subclass SwiftGodot.Object) as well as the built-in Swift types UInt8, Int64 and Double.protocol VariantStorable
Types that conform to VariantStorable can be stored in a Variant and can be extracted back out of a Variant.
Type members
Instance members
Show implementation details (34)
Hide implementation details
func _canInstantiate(
) -> Bool func _editorCanReloadFromFile(
) -> Bool func _getBaseScript(
) -> Script? func _getClassIconPath(
) -> String func _getConstants(
) -> GDictionary func _getDocumentation(
) -> VariantCollection<GDictionary> func _getGlobalName(
) -> StringName func _getInstanceBaseType(
) -> StringName func _getLanguage(
) -> ScriptLanguage? func _getMemberLine(member: StringName
) -> Int32 func _getMembers(
) -> VariantCollection<StringName> func _getMethodInfo(method: StringName
) -> GDictionary func _getPropertyDefaultValue(property: StringName
) -> Variant func _getRpcConfig(
) -> Variant func _getScriptMethodList(
) -> VariantCollection<GDictionary> func _getScriptPropertyList(
) -> VariantCollection<GDictionary> func _getScriptSignalList(
) -> VariantCollection<GDictionary> func _getSourceCode(
) -> String func _hasMethod(StringName
) -> Bool func _hasPropertyDefaultValue(property: StringName
) -> Bool func _hasScriptSignal(StringName
) -> Bool func _hasSourceCode(
) -> Bool func _hasStaticMethod(StringName
) -> Bool func _inheritsScript(Script?
) -> Bool func _instanceCreate(forObject: Object?
) -> OpaquePointer? func _instanceHas(object: Object?
) -> Bool func _isAbstract(
) -> Bool Returns
true
if the script is an abstract script. An abstract script does not have a constructor and cannot be instantiated.func _isPlaceholderFallbackEnabled(
) -> Bool func _isTool(
) -> Bool func _isValid(
) -> Bool func _placeholderInstanceCreate(forObject: Object?
) -> OpaquePointer? func _reload(keepState: Bool
) -> GodotError func _setSourceCode(String
) func _updateExports(
)