u- Video

u-1003000 Video Player
Adding a video to an Unity scene is a fairly straight froward process and can be done with no coding. However if you wish to pause and restart a video you will have to use C coding.

    - YouTube video
Steps to Add Video to Unity screen
-add video player and mp4 video fb

Quick Summary
-create render texture in project are
  – same size as video
-add video clip and render texture to player
-create UI raw image
– scale to desired size
select raw image by check mark
  – add the new render material to raw image
  – UNhcheck Video Player – unselect
See details of FB Post

—————————–
Video Start/Pause


u-1100 Personalize Setup

u-1100 Set up you Screen

One of the most important steps to learn Unity is to understand the basic Unity screen. Most people just jump into creating a scene and only look at the setup when they run into trouble. You will save hours of time and frustration by spening a little time getting to know how to use the interface and set up a screen that meets your needs.

General
Remove the SkyBox from the scene.
Basic Hierarchy Overview

Edit -> Preferences
– set text scaling size
– set color – general – playmode tint.

.

u-4000 – GameObject

u-4000 – Object Actions
Prerequisites: Understand the Unity coordinate system.
The basic actions performed on an object are controlled by the objects Transform component. This component is located in the inspector panel when the object is selected.

u-4020 What can you do with a Unity GameObject.
u-4021

ue-Unity Exercises

ue-0000 Unity Exercises

After 50 years of watching tutorials I have finally realized that I have retained very little from them. Most tutorials (mine included) are good at seeing how to do something, but very little of what learned is retained. This is because most tutorials cover too much information in too short a time.

ut-Basic Blocks

ut-Basic Blocks
Basic Blocks are the building blocks for creating Unity Projects and Scenes.

u-WebGL – Itch

u-WebGL – Itch
WebGL is a great way to provide access to your Unity Projects.

u-WebGL General
You can develop in Unity. Note that items that are mouse clicks will be touch objects when viewed on the web.
u-WebGL – install in Unity
u-WebGL – Publish
u-WebGL – upload to ITCH

  1. Open Unity
    Check to see that the WebGL Publisher is installed, if not install it.
  2. Create the Project in Unity
  3. Publish the project to build the build file
  4. Zip the file
  5. Open Itch and upload the file.

=============

u-3300 Text Mesh Pro TMP

u-3300 Text Mesh Pro TMP

Text Mesh Pro is the basic app used ot crete text in Unity Projects.


using TMPro;
public TextMeshProUGUI lbtext;// This is the FIELD NAME, not the actural text

lbtext.text = “lb Title”; // code to change listbox on screen

===================
TMP – TEXT COLOR WILL NOT CHANGE – CHANGED FONT TO
ROBOTO.
— MMAKE SURE YOU HAVE IMPORTED TMP ESSETNIALS
 RESOURCES FORM WINDOW -> TMP PRO—
Make sure ALL associated packages are installed from windows\Text Mesh Pro . Text will not display if fonts are not installed, and not message is displayed.
=================================
Steps

Set Game Windoww to desired resolution
– 1920 x 1080
this will be the canvas size.
create canvas
set camvas tp screem camera
– set to camera view
– assign a camera (main camera)

camvas size will correspont to the game window setting.
Open the EventSystem game object
set First Selected to Canvas.

Create pael game object. P0go
Create the panel as child ot P0go.
-resize to fill canvas
– set color


======== TMP BUTTON =================
video tutorial good

——– save ——-
add a button to the TMP canvas
UI -> TMP Button
   ——– save, return to Unity ——–
.Create name and open new C# script.
– make sure to include: using TMPro;
    enter code for the output variable
——– save –return to Unity——
. Create and name new empty.
. Add c# script to the output field –
THIS IS AN OUTPUT FIELD, YOU CANNOT READ IT


     in the clicked script section
      -drag and drop from UI canvas -Text
        to the empty script field
——– save ——-
select the tmp button on the TMP canvas. Connect
in the button clict event  add the empty  object c# script to the button   click event
     – press the small + at bottom of click event          to add new event.
——– save ——-

——– save ——-