class-description NEWS COMMUNITY STORE LABS SIGN UP LOGIN LOGOUT ROKOJORI NEWSLETTER SIGN UP LOGIN LOGOUT NEWS COMMUNITY STORE LABS TOGGLE FULLSCREEN VOLLBILD AN/AUS ObjectRefCountedResourceScript GDScript
A script implemented in the GDScript programming language.

A script implemented in the GDScript programming language, saved with the .gd extension. The script extends the functionality of all objects that instantiate it.

Calling new creates a new instance of the script. Object.set_script extends an existing object, if that object's class matches one of the script's base classes.

If you are looking for GDScript's built-in functions, see @GDScript instead.

Variant new<>( .=, .:=, ):Variant

Returns a new instance of the script.

For example:

var MyClass = load("myclass.gd") var instance = MyClass.new() assert(instance.get_script() == MyClass)



All social media brands are registrated trademarks and belong to their respective owners.





CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
CONTACT IMPRINT TERMS OF USE PRIVACY © ROKOROJI ® 2021 rokojori.com
We are using cookies on this site. Read more... Wir benutzen Cookies auf dieser Seite. Mehr lesen...