All
Search
Images
Videos
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
Best way to get variable from another script C# unity
Hello, I have been reading on the forums, and i see there are 2 ways of doing it…: the one i think many recommend is using the GetComponent correct? need help trying to implement it, i am confused on the naming, so here is my 2 script names below… ///this has the variable i want to pass to Ant_Eat script public class Smash : MonoBehaviour ...
Nov 6, 2018
Shorts
0:47
102.2K views
[Quick Tutorial] How to access Variables from another script - Unity
1Min Unity Tutorials
5:05
11.4K views
How to READ A VARIABLE from ANOTHER SCRIPT in Unity
GDT Solutions
Unity Game Development
3:55:19
HOW TO MAKE A GAME IN UNITY 6 - FULL COURSE TUTORIAL - HOW TO MAKE A GAME FOR BEGINNERS
YouTube
Jimmy Vegas
5.6K views
2 months ago
12:55
UNITY 6 TUTORIAL PART 1 - LEARN THE BASICS - HOW TO MAKE A GAME FOR BEGINNERS
YouTube
Jimmy Vegas
104.1K views
8 months ago
1:31:05
Creating your first 2D game in Unity!
YouTube
Unity
10.3K views
1 month ago
Top videos
{ How to COMMUNICATE BETWEEN Scripts in Unity }
gamedevtraum.com
Nov 15, 2019
How to get a variable from another script in Unity (the right way) - Game Dev Beginner
gamedevbeginner.com
Dec 2, 2020
Events & Delegates in Unity
gamedevbeginner.com
Dec 15, 2021
Unity Tutorials
10:49:41
Learn Unity Beginner/Intermediate 2025 (FREE COMPLETE Course - Unity Tutorial)
YouTube
Code Monkey
3.3M views
Jan 30, 2023
46:39
The Unity Tutorial For Complete Beginners
YouTube
Game Maker's Toolkit
5.5M views
Dec 2, 2022
7:24:40
Learn Unity - Beginner's Game Development Tutorial
YouTube
freeCodeCamp.org
2.8M views
Apr 15, 2021
{ How to COMMUNICATE BETWEEN Scripts in Unity }
Nov 15, 2019
gamedevtraum.com
How to get a variable from another script in Unity (the right way) - Ga
…
Dec 2, 2020
gamedevbeginner.com
Events & Delegates in Unity
Dec 15, 2021
gamedevbeginner.com
9:43
Unity Basics - How to access other scripts
4.2K views
Aug 5, 2022
YouTube
MetalStorm Games
8:06
How To Access Variables From Another Script In Unity
117.2K views
Oct 29, 2018
YouTube
Infallible Code
10:42
How To INTERACT with Game Objects using UNITY EVENTS Tut
…
73.8K views
Feb 2, 2020
YouTube
BMo
Scriptable Objects as global variables in Unity (
3K views
May 30, 2020
YouTube
Shack Man
3:57
UNITY 2017 -Call Method From Other Script - [C#][Tutorial]
52.8K views
Nov 3, 2017
YouTube
KH Game
13:07
How To Pass a Text From Scene1 ➡ Scene2 - Unity C# 2021
21.3K views
Feb 4, 2021
YouTube
The Ultimate Developer
11:54
Access functions and variables in another script. Godot Engine.
45K views
Nov 5, 2016
YouTube
John Hamilton
How to get Variables from OTHER SCRIPTS in Unity (3 Ways)
2.1K views
8 months ago
YouTube
Rigor Mortis Tortoise
58:22
How to Get Variables from Other Scripts in Unity — Presented by J
…
36.8K views
Jan 29, 2020
YouTube
Infallible Code
How To Access Variable From Another Script Unity | How To Get
…
40 views
6 months ago
YouTube
Unity Coderz
8:11
How to Pass Variables Between Scripts in C#
82.2K views
Jun 13, 2017
YouTube
Wild Cockatiel Games
5:09
Unity How to Use PUBLIC Variables
6.2K views
Jul 21, 2022
YouTube
Pandemonium
15:43
How to get a variable from another script in Unity (the right way)
Jul 6, 2022
YouTube
Game Dev Beginner
9:09
Referencing Scripts and GameObjects in Unity
6K views
Dec 12, 2021
YouTube
SpawnCampGames
7:06
Introduction | Unity Editor Scripting
11.9K views
Feb 24, 2021
YouTube
Otter Knight
5:19
Unity 5 - Calling Functions/Variables from scripts C#.
8.2K views
Jan 16, 2018
YouTube
OneHazzard
15:18
Unity Basics - Multiple Object Control
5.5K views
Dec 22, 2020
YouTube
misperry
4:45
C# Properties in Unity! - Intermediate Scripting Tutorial
145.2K views
Jul 15, 2019
YouTube
Unity
3:36
Unity Scripting Tutorial : Call C# Script from GameObject
9.1K views
Nov 8, 2018
YouTube
Jayanam
13:53
Unity C# - How to interact between scripts
81.3K views
Jul 30, 2017
YouTube
Danndx
6:31
How to Play Audio from a Script in Unity
23.9K views
Apr 28, 2020
YouTube
Game Dev Beginner
4:55
How to call a FUNCTION FROM A DIFFERENT SCRIPT in Unity
71.7K views
May 30, 2020
YouTube
GDT Solutions ES
25:31
Save SCRIPTABLE OBJECTS - Unity Tutorial
12.3K views
Mar 6, 2021
YouTube
Kap Koder
11:49
5 ways to Reference GameObjects in Unity3D
134.1K views
Mar 21, 2018
YouTube
Jason Weimann (GameDev)
9:33
Accessing Global Variables from Another Script - C# Unity Tutorial
15.7K views
Sep 27, 2019
YouTube
James Lester
7:23
Animator Scripting - Unity Official Tutorials
308.3K views
Feb 2, 2014
YouTube
Unity
See more videos
More like this
Feedback