-
Notifications
You must be signed in to change notification settings - Fork 1
Tutorial Instantiate Object
Kamran Wali edited this page Nov 28, 2024
·
2 revisions
I have added a new feature that allows to quickly add instantiation of PackedScenes objects from the filesystem to the scene editor. No need to drag and drop or add an insantiated object 1 by 1 from the default Godot system. In future will try to make this system even faster. You can open the Instantiate Object window by going to the menu Project -> Project Settings then select the Plugins tab and finally enable the Instantiate Object. This will open the Instantiate Object by docking it at the bottom right side. You can dock it how ever you wish. Below I will explain the highlighted parts of the Instantiate Object.
Instantiate Object |
- a. Scene - This is the Scene or PackedScene you need to select from the FileSystem. This is also the object that will be instantiated into the Scene Editor.
- b. Scene Status - This is the status of the selected Scene object. It will tell you if you have selected a Scene or PackedScene object from the filesystem or not. When selecting a correct Scene or PackedScene from the filesystem then the status' font will turn green and show the name of the object indicating that a correct object has been selected.
- c. Lock Scene - If enabled this will make sure that the current selected Scene does not get overriden when any other filesystem objects are selected. This helps to navigate through the filesystem without worrying about getting the selected filesystem object overriden.
- d. Parent - This is the Node object where the selected Scene or PackedScene will be instantiated into as a child. This Node object must be selected in the Scene Editor.
- e. Parent Status - This is the status of the selected parent Node object. It will tell you if you have selected a parent Node from the Scene Editor or not. When selecting a correct Node object from the Scene Editor then the status' font will turn green and show the name of the object indicating that a correct object has been selected.
- f. Lock Parent - If enabled this will make sure that the current selected Node does not get overriden when any other Scene Editor objects are selected. This helps to navigate through the Scene Editor without worrying about getting the selected parent object overriden.
- g. Number of Instantiation - This will instantiate n number of objects. n being greater than 1. This feature is optional and does NOT need to be populated to work.
- h. Instantiate Object - This button will instantiate an object. If a value is given in Number of Instantiation then it will instantiate that amount of objects. This button will ONLY appear if a correct Scene and Parent objects are selected.
- Tutorial Bar
- Tutorial Debug
- Tutorial Instantiate Object
- Tutorial Pool
- Tutorial Timer
- Tutorial Update Manager
- Tutorial Variable Creator
- Bars
- Debugs
- Maths
- Pools
- Resources
- Fixed Vars
- Managers
- Observers
- Vars
- Script Templates
- Timers
- Updates