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
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
How To Get Game Objects With A Specific Script Attached – Unity C#
stuartspixelgames.com
Aug 8, 2017
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
How To Get Game Objects With A Specific Script Attached – Unity C#
Aug 8, 2017
stuartspixelgames.com
Different methods to FIND the REFERENCES of scene objects F
…
Nov 26, 2023
gamedevtraum.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
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
LINKING SCRIPTS & OBJECTS | HOW TO USE UNITY 3D | UNITY B
…
4.4K views
Oct 8, 2018
YouTube
Jimmy Vegas
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
Unity Search Tool - Find Missing Scripts
1.5K views
Jan 14, 2024
YouTube
bwaynesu
5:20
How to CHECK IF AN OBJECT EXISTS in Unity to avoid NullRefer
…
3.4K views
Feb 3, 2021
YouTube
GDT Solutions ES
15:43
How to get a variable from another script in Unity (the right way)
Jul 6, 2022
YouTube
Game Dev Beginner
10:47
Unity Tutorial | Find GameObjects with Missing Scripts
12.8K views
Jul 25, 2019
YouTube
Abhijeet Dani
9:09
Referencing Scripts and GameObjects in Unity
6K views
Dec 12, 2021
YouTube
SpawnCampGames
16:13
Unity 2D Platformer Tutorial 8 - Introduction to Scripts in Unity
8.9K views
Sep 27, 2021
YouTube
Daniel Wood
8:57
SCRIPTABLE OBJECTS in Unity
1M views
Jan 3, 2018
YouTube
Brackeys
31:09
Unity Visual Scripting – Getting Started
Jun 23, 2021
YouTube
NotSlot
7:06
Introduction | Unity Editor Scripting
11.9K views
Feb 24, 2021
YouTube
Otter Knight
1:50
How to fix errors in unity: Can't Add Script
10.8K views
Mar 13, 2021
YouTube
DukeByte
4:28
How To Use Scriptable Objects in Unity
110.4K views
Apr 22, 2019
YouTube
Game Dev Guide
0:42
Edit TextMesh Pro Using Scripts in Unity
15.5K views
Mar 21, 2020
YouTube
EmanGameDev
13:53
Unity C# - How to interact between scripts
81.3K views
Jul 30, 2017
YouTube
Danndx
7:34
Fix Null Reference Exception in Unity
29.1K views
Mar 20, 2019
YouTube
Info Gamer
16:10
How to Fix NullReferenceException in C#! (4 Step Process)
88.5K views
Sep 20, 2020
YouTube
Code Monkey
4:55
How to call a FUNCTION FROM A DIFFERENT SCRIPT in Unity
71.7K views
May 30, 2020
YouTube
GDT Solutions ES
14:11
Device Camera - How to - Unity 3D [Tutorial]
Jan 23, 2017
YouTube
N3K EN
11:49
5 ways to Reference GameObjects in Unity3D
134.1K views
Mar 21, 2018
YouTube
Jason Weimann (GameDev)
See more videos
More like this
Feedback