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 C# Tutorial
Implement data persistence between scenes - Unity Learn
unity.com
Dec 30, 2024
Start Your Creative Projects and Download the Unity Hub | Unity
unity.com
Jan 1, 2020
C# Unity And Its User Interface: (A Comprehensive Guide) | Simplilearn
simplilearn.com
Apr 25, 2022
Top videos
How to get a variable from another script in Unity (the right way) - Game Dev Beginner
gamedevbeginner.com
Dec 2, 2020
Statics - Unity Learn
unity.com
Jan 11, 2022
1:58
How to Move 1 Variable from a Class to Another in C#
YouTube
vlogize
4 months ago
Unity C# Scripting
Absolute Beginner's Guide to Unity C# Scripting (Part 1)
unity.com
5 months ago
1:33
Fixing the ; Expected Error in Unity Scripting
YouTube
vlogize
4 months ago
47:36
Lecture 20 | Unity C# Scripting Part 3
YouTube
Dr. Rajesh Tavva
1 views
2 months ago
How to get a variable from another script in Unity (the right way) - Ga
…
Dec 2, 2020
gamedevbeginner.com
Statics - Unity Learn
Jan 11, 2022
unity.com
1:58
How to Move 1 Variable from a Class to Another in C#
4 months ago
YouTube
vlogize
1:52
How to Retrieve Static Variables from a Class in C#
1 views
4 months ago
YouTube
vlogize
Unity Basics - How to access other scripts
4.9K views
Aug 5, 2022
YouTube
MetalStorm Games
How to access variable from another script in Unity
942 views
Nov 17, 2020
YouTube
El Profesor Kudo
Static vs Instances | Unity C# Basics Part 4
7K views
Apr 26, 2022
YouTube
LlamAcademy
How to call a FUNCTION FROM A DIFFERENT SCRIPT in Unity
71.8K views
May 30, 2020
YouTube
GDT Solutions ES
Python Programming Tutorial | Class or Static Variables in Pytho
…
10.3K views
Mar 14, 2018
YouTube
GeeksforGeeks
5:03
C# static 🚫
112.4K views
Jul 3, 2021
YouTube
Bro Code
4:28
How To Use Scriptable Objects in Unity
110.6K views
Apr 22, 2019
YouTube
Game Dev Guide
13:53
Unity C# - How to interact between scripts
81.4K views
Jul 30, 2017
YouTube
Danndx
7:07
Unity Physics: Static, Kinematic, Dynamic
70.3K views
Oct 14, 2020
YouTube
Smart Penguins
6:47
C# Events in Unity! - Intermediate Scripting Tutorial
191.9K views
Aug 20, 2020
YouTube
Unity
11:49
5 ways to Reference GameObjects in Unity3D
134.4K views
Mar 21, 2018
YouTube
Jason Weimann (GameDev)
3:24
{ How to get text from INPUT FIELD in Unity } - User Text Entries
97.5K views
Nov 18, 2020
YouTube
GDT Solutions ES
7:34
How to Send Variables Between Scenes in Unity
57K views
Nov 12, 2020
YouTube
Wild Cockatiel Games
3:29
C# Statics in Unity! - Intermediate Scripting Tutorial
84.1K views
Jul 15, 2019
YouTube
Unity
4:53
C# Arrays in Unity! - Beginner Scripting Tutorial
95.1K views
Aug 20, 2020
YouTube
Unity
5:02
20-Local, Instance and Static Variables in Java
159.6K views
Mar 10, 2018
YouTube
Codearchery
5:12
Better Data with Scriptable Objects in Unity! (Tutorial)
213K views
Sep 23, 2020
YouTube
Unity
2:38
How to attach scripts to gameobjects - Unity3D scripts - Pa
…
13.7K views
Dec 7, 2018
YouTube
Coffee Cup Dev
3:01
3 common Ways to transfer variable between script
65.4K views
Jun 4, 2021
YouTube
Dicode
5:50
C# Lists and Dictionaries in Unity! - Intermediate Scripting Tutorial
138.3K views
Aug 2, 2019
YouTube
Unity
0:47
[Quick Tutorial] How to access Variables from another script - Unity
106.4K views
Mar 18, 2020
YouTube
1Min Unity Tutorials
2:11
How to pass variables between scenes in Unity? [1]
61.9K views
Dec 8, 2020
YouTube
Coco Code
6:04
C# Scope and Access Modifiers in Unity! - Beginner Scripting Tutorial
94.5K views
Jul 11, 2019
YouTube
Unity
3:30
Unity - auf ein anderes Script zugreifen
2.1K views
Jan 4, 2021
YouTube
ErklärMeister
11:12
C# Static Variables
25.9K views
Jul 2, 2013
YouTube
Jamie King
See more videos
More like this
Feedback