All
Search
Images
Videos
Shorts
Maps
News
More
Shopping
Flights
Travel
Notebook
Report an inappropriate content
Please select one of the options below.
Not Relevant
Offensive
Adult
Child Sexual Abuse
Length
All
Short (less than 5 minutes)
Medium (5-20 minutes)
Long (more than 20 minutes)
Date
All
Past 24 hours
Past week
Past month
Past year
Resolution
All
Lower than 360p
360p or higher
480p or higher
720p or higher
1080p or higher
Source
All
Dailymotion
Vimeo
Metacafe
Hulu
VEVO
Myspace
MTV
CBS
Fox
CNN
MSN
Price
All
Free
Paid
Clear filters
SafeSearch:
Moderate
Strict
Moderate (default)
Off
Filter
unity.com
How to access another public variable from another script or gameobject?
Let’s say I have using UnityEngine; using UnityEngine.UI; using System.Collections; public class HitController : MonoBehaviour { public int level; // Use this for initialization void Start () { } // Update is called once per frame void Update () { } } How do I access the ‘level’ variable from another script?
Dec 24, 2015
Unity Game Development
Game Development Resources, Case Studies & Articles | Unity
unity.com
Nov 27, 2023
Game Development for Total Beginners - Free Unity Course
freecodecamp.org
Apr 15, 2021
Tutorials - Unity Learn
unity.com
Apr 8, 2019
Top videos
How to get a variable from another script in Unity (the right way) - Game Dev Beginner
gamedevbeginner.com
Dec 2, 2020
1:53
Fixing Unity Crashes: How to Properly Access Variables from Other Scripts in Your Game
YouTube
vlogize
1 views
10 months ago
9:21
Unity - Calling functions from other scripts
YouTube
Back To Code
870 views
May 16, 2023
Unity Tutorials
Best Unity Tutorials: Beginner’s Guides On How To Make A Game - GameDev Academy
gamedevacademy.org
Nov 22, 2019
Create with VR
unity.com
Aug 25, 2023
Implement data persistence between scenes - Unity Learn
unity.com
Dec 30, 2024
How to get a variable from another script in Unity (the right way) - Ga
…
Dec 2, 2020
gamedevbeginner.com
1:53
Fixing Unity Crashes: How to Properly Access Variables from Ot
…
1 views
10 months ago
YouTube
vlogize
9:21
Unity - Calling functions from other scripts
870 views
May 16, 2023
YouTube
Back To Code
2:58
How To Access Variables In Another Script in 3 MINUTES - Unity 6
422 views
11 months ago
YouTube
Craft & Code
17:10
How to get Variables from OTHER SCRIPTS in Unity (3 Ways)
4.5K views
Dec 27, 2024
YouTube
Rigor Mortis Tortoise
0:25
Boost Your Coding Skills - Use Methods and access Variables fro
…
78 views
Feb 6, 2025
YouTube
BAM GAMES & APPS - Unity Tutorials
1:37
How to Access a Variable from Another Script in Unity
5 views
5 months ago
YouTube
vlogize
7:44
How to COMMUNICATE BETWEEN SCRIPTS in Unity | Use Methods a
…
170 views
Nov 11, 2024
YouTube
BAM GAMES & APPS - Unity Tutorials
0:47
[Quick Tutorial] How to access Variables from another script - Unity
106.4K views
Mar 18, 2020
YouTube
1Min Unity Tutorials
8:07
How To Access Variables From Another Script In Unity
117.4K views
Oct 29, 2018
YouTube
Infallible Code
1:48
How to Read a Variable from Another Script in Unity
8 views
10 months ago
YouTube
vlogize
58:23
How to Get Variables from Other Scripts in Unity — Presented by J
…
37.1K views
Jan 29, 2020
YouTube
Infallible Code
3:39
What are "gameObject" and "transform" variables from a scrip
…
2.2K views
Jan 21, 2021
YouTube
GDT Solutions ES
10:23
Unity: Accessing from one script to another (variable retrieval / functio
…
20.8K views
Apr 15, 2020
YouTube
TUTO UNITY FR
1:33
How to Access Variables Defined in Another Function in Unity: A Clea
…
5 views
10 months ago
YouTube
vlogize
How to access variable from another script in Unity
942 views
Nov 17, 2020
YouTube
El Profesor Kudo
15:44
How to get a variable from another script in Unity (the right way)
119.2K views
Jul 6, 2022
YouTube
Game Dev Beginner
0:38
Optimize Your Unity Games - Connect Multiple Scripts Effortlessly
60 views
Jan 27, 2025
YouTube
BAM GAMES & APPS - Unity Tutorials
5:09
How to READ A VARIABLE from A DIFFERENT SCRIPT in Unity
23.2K views
Jun 14, 2020
YouTube
GDT Solutions ES
3:43
Get Variable from another script Unity
1.1K views
Jul 1, 2023
YouTube
VionixStudio
5:05
How to READ A VARIABLE from ANOTHER SCRIPT in Unity
12.5K views
Jan 9, 2023
YouTube
GDT Solutions
0:23
Connecting Scripts in Unity - Mastering Game Development
188 views
Jan 28, 2025
YouTube
BAM GAMES & APPS - Unity Tutorials
5:29
Manage your Variables in Unity
11.6K views
Jan 20, 2018
YouTube
SpeedTutor
6:47
C# Variables And Functions in Unity! - Beginner Scripting Tutorial
229.2K views
Aug 20, 2020
YouTube
Unity
8:47
Scriptable Objects as global variables in Unity (#Sock05)
3.1K views
May 30, 2020
YouTube
Shack Man
4:44
{ Cómo leer una VARIABLE que está en OTRO SCRIPT en Unity }
20.9K views
Apr 20, 2020
YouTube
GDT Solutions ES
0:37
Unity C# Access VARIABLE from ANOTHER SCRIPT!
14K views
Jan 27, 2023
YouTube
Freedom Coding
7:27
How to Pass Variables Between Scripts in C#
82.5K views
Jun 13, 2017
YouTube
Wild Cockatiel Games
2:11
How to pass variables between scenes in Unity? [1]
61.9K views
Dec 8, 2020
YouTube
Coco Code
See more videos
More like this
Feedback