Instance Methodmigueldeicaza.swiftgodot 0.45.0SwiftGodot
_exp_unref
Decrements the internal reference counter. Deletes underlying object if it goes to zero..
RefCountedExtensions.swift:8func _exp_unref()
This is flagged _exp
because it will eventually be folded into deinit for RefCounted objects
Other members in extension
Type members
Instance members
func getReferenceCount(
) -> Int32 Returns the current reference count.
func initRef(
) -> Bool Initializes the internal reference counter. Use this only if you really know what you are doing.
func reference(
) -> Bool Increments the internal reference counter. Use this only if you really know what you are doing.
func unreference(
) -> Bool Decrements the internal reference counter. Use this only if you really know what you are doing.