Click or drag to resize

NativeScriptNew Method

Constructs a new object of the base type with a script of this type already attached.

Note: Any arguments passed to this function will be ignored and not passed to the native constructor function. This will change with in a future API extension.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Object New(
	params Object[] args
)

Parameters

args
Type: SystemObject

[Missing <param name="args"/> documentation for "M:Godot.NativeScript.New(System.Object[])"]

Return Value

Type: Object

[Missing <returns> documentation for "M:Godot.NativeScript.New(System.Object[])"]

See Also