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
Referencing a variable from another script in c#
Hello, I am sorry as I can see this is a common question, but when I try and implement the answers I find online, the do not seem to work in my case. I think I may be missing something, and am hoping someone can help. I have two scripts. I want to simply reference the variable from script 1 in script 2, or vice versa. My first script is as such ...
Mar 31, 2020
Scriptable Object Tutorial
19:27
ScriptableObjects, Explained | Unity Tutorial
YouTube
LlamAcademy
18K views
May 17, 2022
25:57
A Beginners Guide - How to Use Scriptable Objects in Unity!
YouTube
The Messy Coder
11.8K views
Oct 13, 2017
8:06
Unity Scriptable Objects Tutorial: Organize Your Game Data Like a Pro
YouTube
Fist Full of Shrimp
4.7K views
8 months ago
Top videos
How to get a variable from another script in Unity (the right way)
gamedevbeginner.com
Dec 2, 2020
Unity Learn
unity.com
Nov 17, 2023
How To Get Game Objects With A Specific Script Attached – Unity C#
stuartspixelgames.com
Aug 8, 2017
Scriptable Object Basics
ScriptableObject with multiple scripts
unity.com
Jul 16, 2022
ScriptableObject behaviour discussion (how Scriptable Objects work)
unity.com
Jul 18, 2018
Get variable from ScriptableObject class in MonoBehaviour class
unity.com
Apr 28, 2021
How to get a variable from another script in Unity (the right way)
Dec 2, 2020
gamedevbeginner.com
Unity Learn
Nov 17, 2023
unity.com
How To Get Game Objects With A Specific Script Attached – Unity C#
Aug 8, 2017
stuartspixelgames.com
Unity How to Attach a Script or a Component to a GameObject
Mar 29, 2021
sharpcoderblog.com
Re-map a number from one range to another?
Apr 14, 2021
unity.com
Object gets further and further away from parent.
Jun 3, 2015
unity.com
Best way to reference a prefab game object?
Dec 14, 2023
unity.com
How to access differents things through scripts (basic question)...
Apr 14, 2017
unity.com
{ How to COMMUNICATE BETWEEN Scripts in Unity }
Nov 15, 2019
gamedevtraum.com
1:48
How to Use GameObject from One Script in Another in Unity
3 weeks ago
YouTube
vlogize
1:36
How to Reference an Enum from Another Script in Unity
1 views
2 weeks ago
YouTube
vlogize
17:58
Unity Character Customization Using Scriptable Objects | Beginn
…
17.1K views
Jul 27, 2022
YouTube
Dan Pos
14:08
Object References in Unity - How to Communicate Between Scripts
122.8K views
Jan 12, 2022
YouTube
Tarodev
2:37
Unity Sprite Swap Feature
37.8K views
Oct 15, 2021
YouTube
Tarodev
How to Call a Function from One JavaScript File in Another: Solve
…
6 months ago
YouTube
vlogize
18:55
How to Program in Unity: State Machines Explained
263.1K views
Aug 29, 2021
YouTube
iHeartGameDev
4:25
How to Install Data Quality Services in SQL Server 2019
7.4K views
Jun 15, 2019
YouTube
C Plus+
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.4K views
Oct 29, 2018
YouTube
Infallible Code
8:36
Python Tutorial: How Python Variables Reference Objects
35.1K views
Mar 6, 2015
YouTube
Code master
4:29
Pick Up Different Objects Using the Same Script in Unity3D
2.1K views
Mar 2, 2021
YouTube
MKs Unity
33:49
Unity Interaction Tutorial | How To Interact With Any Game Object (O
…
106.3K views
Apr 3, 2022
YouTube
Dan Pos
20:44
The Ultimate Introduction to Scriptable Objects in Unity
110.4K views
Jan 24, 2022
YouTube
samyam
10:37
Reference Variable use in Unreal Engine 5
6.5K views
Feb 24, 2023
YouTube
Game Maker Dhaka
4:29
Unity Easy DIALOGUE SYSTEM in 270 Seconds
40K views
Nov 18, 2023
YouTube
Raycastly
13:07
How To Pass a Text From Scene1 ➡ Scene2 - Unity C# 2021
21.3K views
Feb 4, 2021
YouTube
The Ultimate Developer
7:18
creating and transferring unity packages from one project to anot
…
7.9K views
Feb 14, 2019
YouTube
Johnathan Heath
How to COMMUNICATE BETWEEN SCRIPTS in Unity | Use Methods a
…
149 views
11 months ago
YouTube
BAM GAMES & APPS - Unity Tutorials
15:16
Unity : Shader Graph - Control Properties with C# Script 😎 [15 mins]
2.8K views
Sep 24, 2021
YouTube
eric pug
See more videos
More like this
Feedback