Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disallow new script with class_name or add_custom_type() #1879

Closed
Shadowblitz16 opened this issue Nov 23, 2020 · 1 comment
Closed

Disallow new script with class_name or add_custom_type() #1879

Shadowblitz16 opened this issue Nov 23, 2020 · 1 comment

Comments

@Shadowblitz16
Copy link

Shadowblitz16 commented Nov 23, 2020

Describe the project you are working on:
NetworkedTest

Describe the problem or limitation you are having in your project:
I don't want to accentually add a new script to one of my nodes.

Describe the feature / enhancement and how it helps to overcome the problem or limitation:
Disallow new script with nodes created from node browser and only have extend script

Describe how your proposal will work, with code, pseudocode, mockups, and/or diagrams:
This makes sure people aren't attaching scripts that aren't intended for the object.
If they want to attach the script they have to extend it

If this enhancement will not be used often, can it be worked around with a few lines of script?:
It would be used in node inheritance and type safety

Is there a reason why this should be core and not an add-on in the asset library?:
It makes work flow better and more stable (basicly your not breaking things)

@Shadowblitz16
Copy link
Author

Shadowblitz16 commented Apr 16, 2021

in favor of this I'm closing #2612
and a future suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants