Unity 3D – Intro about attributes and events .

This will update your component into visual area of Unity.
Some public variables will be fasioned and change with your selected attributes.
The attributes can be used into programming using the [] .
The class can have on top this attribute and is follow by the code source.
this will add a url

this will block drag and drop your component to just once.

this will block remove the component depend it TEST.

You can remove step by step , but when you add this also add both this component and the TEST component.
Many attributes use sections used to separate and show infos , like:
show word Details

make a space into Unity Inspector

show the header like Stats

this tell is a multiline for text area

renders a flexible textbox with a scrollbar.

create a slider from 0.0 to 360.0 for variable circle_angle

will be hide the public variables

this will execute the code , for example: you can execute the camera follow even you don’t use play mode.

this allow to run code GiveObject by create a menu on
Tools – Give object – Do it

then when play and used it this will run GiveObject

this gets serialized even though it is private

This can be a good example when you use sprites and colliders.
Example:

Then you need to use them and need to tell Unity something about your code

… and will show on development like a warning message “This one is old”

This part of the tutorial is more complex and is about events:
This attribute tell Unity can serializable something ( like: using events system ) .

Example with one serializable event:

I named the script , class and variable for event just to understand how this works.
You can use anything else for event : read_event_player, read_heat, read
You can change the name of the script or the class for event.
You can add Listener into your script and use them
NOTE: You can add new listeners to event, but you cannot see them in Unity Inspector.
Example: use Start area of code to add this:

then create this to use it:

If you take a look on Unity Inspector you don’t see this , just the print of Debug.Log
This events part is old but is ofen used by users.
You can use C# events and not the Unity events .
The Unity events is super powerfull for Unity development and is easy to use them.
If not you need to have some custom code for this type of tasks.
You can use something else into events (but not more 4 args) :

and use it

This is a little tricky but you can pass anything you want with events system.

The Jemula8 – online kernels with node.js .

The author tell us about the Jemula8 :
An object-oriented JavaScript x86 Emulator for Node.js and the browser.

jemul8 takes an object-oriented approach to emulation. Primarily an educational tool, it aims to provide a detailed description of the internal workings of an IBM-compatible PC.

It is built using the easy-to-use language JavaScript, so it may be picked up and tweaked by even the amateur programmer.

It aims to reflect computer science concepts, such as Fetch-Decode-Execute, in a largely abstract context, although the only instruction set currently supported is Intel’s IA-32/x86 architecture.
You can read the source code here .
You can see a good example online with MikeOS.
About MikeOS: is a simple operating system with the signature is different and the access to the interruptions and the structure is similar with the DOS.
The Jemula8 is a good example to test your kernels into online area.
This is a screenshot with the OS named MikeOS and Jemula8 :

Unity 3D – using the gyroscope.

If your tablet, phone or laptop has a gyroscope device then you can used with Unity 3D game engine.
Create your project and use this C# script to test and show info about your gyroscope device.

News: Blazor framework from ASP.NET .

The ASP.NET team come with this new experimental .NET web framework named Blazor.
The source code can be found on github.
This framework using C#/Razor and HTML that runs in the browser with WebAssembly.
The Blazor framework uses only the latest web standards, no plugins or transpilation needed and come with this features:

  • A component model for building composable UI
  • Routing
  • Layouts
  • Forms and validation
  • Dependency injection
  • JavaScript interop
  • Live reloading in the browser during development
  • Server-side rendering
  • Full .NET debugging both in browsers and in the IDE
  • Rich IntelliSense and tooling
  • Ability to run on older (non-WebAssembly) browsers via asm.js
  • Publishing and app size trimming

You can see this framework like a simple live Blazor app.

The programming tool : TIO .

The development team come with this intro:
TIO is a family of online interpreters for an evergrowing list of practical and recreational programming languages.

To use TIO, simply click the arrow below, pick a programming language, and start typing. Once you click the run button, your code is sent to a TIO arena, executed in a sandboxed environment, and the results are sent back to your browser. You can share your code by generating a client-side permalink that encodes code and input directly in the URL.
You can test a total of 500 programming languages.
You can test it at official webpage.
This is a screenshot with all programming languages: