AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Global (outside the methods) these variables will keep their values during the lifetime of script. Value will be “lost” when the method ends. Local (inside the methods) these variables will keep their value only during execution of a method. There are two types of variables for scripting: If Main method is removed / renamed, the script will not run and you will be notified in the programmable block details area.Ĭustom methods/variables can be defined and used, but only the Main method will be called by the program. This Main method is the entry point that will be called when executing script. The code in the editor becomes the body of the Program class definition. When the editor is opened for first time on a block, the Program constructor and the Main method are present inside the code editor. If someone else has an editor for the current block open and someone else tries to open that block's editor, a notification will be shown that the editor is already open. Only one player can edit the same script at a time. 2.3 Same block class for different SubTypeID.
0 Comments
Read More
Leave a Reply. |