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
1:53
Fixing Unity Crashes: How to Properly Access Variables from Other Scripts in Your Game
YouTube
vlogize
1 views
10 months ago
How to get a variable from another script in Unity (the right way) - Game Dev Beginner
gamedevbeginner.com
Dec 2, 2020
17:10
How to get Variables from OTHER SCRIPTS in Unity (3 Ways)
YouTube
Rigor Mortis Tortoise
4.5K views
Dec 27, 2024
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
1:53
Fixing Unity Crashes: How to Properly Access Variables from Ot
…
1 views
10 months ago
YouTube
vlogize
How to get a variable from another script in Unity (the right way) - Ga
…
Dec 2, 2020
gamedevbeginner.com
17:10
How to get Variables from OTHER SCRIPTS in Unity (3 Ways)
4.5K views
Dec 27, 2024
YouTube
Rigor Mortis Tortoise
2:58
How To Access Variables In Another Script in 3 MINUTES - Unity 6
422 views
11 months ago
YouTube
Craft & Code
7:44
How to COMMUNICATE BETWEEN SCRIPTS in Unity | Use Methods a
…
170 views
Nov 11, 2024
YouTube
BAM GAMES & APPS - Unity Tutorials
0:25
Boost Your Coding Skills - Use Methods and access Variables fro
…
78 views
Feb 6, 2025
YouTube
BAM GAMES & APPS - Unity Tutorials
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
1:38
Accessing a Variable from Another Script on the Same GameObject i
…
3 views
8 months ago
YouTube
vlogize
8:07
How To Access Variables From Another Script In Unity
117.4K views
Oct 29, 2018
YouTube
Infallible Code
0:38
Optimize Your Unity Games - Connect Multiple Scripts Effortlessly
60 views
Jan 27, 2025
YouTube
BAM GAMES & APPS - Unity Tutorials
7:27
How to Pass Variables Between Scripts in C#
82.5K views
Jun 13, 2017
YouTube
Wild Cockatiel Games
9:21
Unity - Calling functions from other scripts
870 views
May 16, 2023
YouTube
Back To Code
0:47
[Quick Tutorial] How to access Variables from another script - Unity
106.4K views
Mar 18, 2020
YouTube
1Min Unity Tutorials
10:23
Unity: Accessing from one script to another (variable retrieval / functio
…
20.8K views
Apr 15, 2020
YouTube
TUTO UNITY FR
0:23
Connecting Scripts in Unity - Mastering Game Development
188 views
Jan 28, 2025
YouTube
BAM GAMES & APPS - Unity Tutorials
0:37
Unity C# Access VARIABLE from ANOTHER SCRIPT!
14K views
Jan 27, 2023
YouTube
Freedom Coding
3:39
What are "gameObject" and "transform" variables from a scrip
…
2.2K views
Jan 21, 2021
YouTube
GDT Solutions ES
1:33
How to Access Variables Defined in Another Function in Unity: A Clea
…
5 views
10 months ago
YouTube
vlogize
5:05
How to READ A VARIABLE from ANOTHER SCRIPT in Unity
12.5K views
Jan 9, 2023
YouTube
GDT Solutions
5:09
How to READ A VARIABLE from A DIFFERENT SCRIPT in Unity
23.2K views
Jun 14, 2020
YouTube
GDT Solutions ES
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
13:10
{ How to CALL A FUNCTION FROM ANOTHER SCRIPT in Unity - Detail
…
302 views
5 months ago
YouTube
GDT Solutions
How to access variable from another script in Unity
942 views
Nov 17, 2020
YouTube
El Profesor Kudo
4:45
C# Properties in Unity! - Intermediate Scripting Tutorial
147.6K views
Jul 15, 2019
YouTube
Unity
6:04
C# Scope and Access Modifiers in Unity! - Beginner Scripting Tutorial
94.5K views
Jul 11, 2019
YouTube
Unity
28:54
Upgrade your variables! Unity Scriptable Objects Beginner Tutorial
2.9K views
Jan 3, 2022
YouTube
Shack Man
How to call a FUNCTION FROM A DIFFERENT SCRIPT in Unity
71.8K views
May 30, 2020
YouTube
GDT Solutions ES
3:29
C# Statics in Unity! - Intermediate Scripting Tutorial
84.1K views
Jul 15, 2019
YouTube
Unity
See more videos
More like this
Feedback