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
2:58
How To Access Variables In Another Script in 3 MINUTES - Unity 6
YouTube
Craft & Code
422 views
11 months ago
0:25
Boost Your Coding Skills - Use Methods and access Variables from another script in Unity
YouTube
BAM GAMES & APPS - Unity
78 views
Feb 6, 2025
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
2:58
How To Access Variables In Another Script in 3 MINUTES - Unity 6
422 views
11 months ago
YouTube
Craft & Code
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
58:23
How to Get Variables from Other Scripts in Unity — Presented by J
…
37.1K views
Jan 29, 2020
YouTube
Infallible Code
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
3:43
Get Variable from another script Unity
1.1K views
Jul 1, 2023
YouTube
VionixStudio
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
0:37
Unity C# Access VARIABLE from ANOTHER SCRIPT!
14K views
Jan 27, 2023
YouTube
Freedom Coding
2:11
How to pass variables between scenes in Unity? [1]
61.9K views
Dec 8, 2020
YouTube
Coco Code
Unity Basics - How to access other scripts
5.1K views
Aug 5, 2022
YouTube
MetalStorm Games
6:04
C# Scope and Access Modifiers in Unity! - Beginner Scripting Tutorial
94.5K views
Jul 11, 2019
YouTube
Unity
5:40
Unity Bolt Tip Expose C# variable to Visual Scripting (Unity Tutorial)
3.3K views
Nov 12, 2021
YouTube
Justus Foran
How to get a variable from another script in Unity (the right way) - Ga
…
Dec 2, 2020
gamedevbeginner.com
6:32
Unity How to change Variables on another Script or GameObject ZDe
…
15K views
May 23, 2022
YouTube
The Crypto Gym - Austin Patkos (APex)
2:25
C# Activating GameObjects in Unity! - Beginner Scripting Tutorial
92.4K views
Jul 11, 2019
YouTube
Unity
2:00
Unity Visual Scripting - How to Connect and Trigger Scripts
14.3K views
May 27, 2022
YouTube
Markom3D
5:15
Unity - Call a method/function from another script
27.1K views
Jul 12, 2022
YouTube
DA LAB
3:10
C# Scripts as Behaviour Components in Unity! - Beginner
…
481K views
Dec 16, 2019
YouTube
Unity
9:58
Unity WebGL: Interacting with browser scripting , calling unity sc
…
31.4K views
Apr 23, 2018
YouTube
IMPROWISE STUDIOS
4:28
How To Use Scriptable Objects in Unity
110.6K views
Apr 22, 2019
YouTube
Game Dev Guide
1:58
How to fix... Can't Add Script component to GameObject (Unity)
105.6K views
Jul 27, 2018
YouTube
Sloan Kelly
1:47
C# LookAt in Unity! - Beginner Scripting Tutorial
95.8K views
Jul 23, 2019
YouTube
Unity
31:09
Unity Visual Scripting – Getting Started
137.2K views
Jun 23, 2021
YouTube
NotSlot
See more videos
More like this
Feedback