English
全部
搜索
图片
视频
短视频
地图
资讯
更多
购物
航班
旅游
笔记本
报告不当内容
请选择下列任一选项。
无关
低俗内容
成人
儿童性侵犯
时长
全部
短(小于 5 分钟)
中(5-20 分钟)
长(大于 20 分钟)
日期
全部
过去 24 小时
过去一周
过去一个月
去年
清晰度
全部
低于 360p
360p 或更高
480p 或更高
720p 或更高
1080p 或更高
源
全部
Dailymotion
Vimeo
Metacafe
Hulu
VEVO
Myspace
MTV
CBS
Fox
CNN
MSN
价格
全部
免费
付费
清除筛选条件
安全搜索:
中等
严格
中等(默认)
关闭
筛选器
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 ...
2020年3月31日
Unity Game Development
5:59:38
Learn Unity by Making a 2D Game – Full Beginner Course (6 Hours)
YouTube
AlexDev
已浏览 10.5万 次
4 个月之前
3:55:19
HOW TO MAKE A GAME IN UNITY 6 - FULL COURSE TUTORIAL - HOW TO MAKE A GAME FOR BEGINNERS
YouTube
Jimmy Vegas
已浏览 2.4万 次
5 个月之前
5:31:05
Learn Unity 2D Beginner FREE COMPLETE Course (Unity Tutorial 2025)
YouTube
Code Monkey
已浏览 9.1万 次
4 个月之前
热门视频
How to get a variable from another script in Unity (the right way)
gamedevbeginner.com
2020年12月2日
How To Get Game Objects With A Specific Script Attached – Unity C#
stuartspixelgames.com
2017年8月8日
Unity Learn
unity.com
2023年11月17日
Unity Tutorials
10:49:40
Learn Unity Beginner/Intermediate 2025 (FREE COMPLETE Course - Unity Tutorial)
YouTube
Code Monkey
已浏览 349.2万 次
2023年1月30日
46:39
The Unity Tutorial For Complete Beginners
YouTube
Game Maker's Toolkit
已浏览 604.8万 次
2022年12月2日
12:55
UNITY 6 TUTORIAL PART 1 - LEARN THE BASICS - HOW TO MAKE A GAME FOR BEGINNERS
YouTube
Jimmy Vegas
已浏览 14.2万 次
2024年12月9日
How to get a variable from another script in Unity (the right way)
2020年12月2日
gamedevbeginner.com
How To Get Game Objects With A Specific Script Attached – Unity C#
2017年8月8日
stuartspixelgames.com
Unity Learn
2023年11月17日
unity.com
Unity Learn
2019年7月29日
unity.com
How to access differents things through scripts (basic question)...
2017年4月14日
unity.com
2:00
How to Store Script Names in Variables in Unity
2 个月之前
YouTube
vlogize
1:36
How to Reference an Enum from Another Script in Unity
已浏览 1 次
2 个月之前
YouTube
vlogize
20:32
Accessing The FILE EXPLORER in UNITY 2D! C# Tutorial 2020
已浏览 2.6万 次
2020年12月8日
YouTube
The Ultimate Developer
7:49
Get New Nodes for Unity Visual Scripting - Save Load Data from File
已浏览 3281 次
2023年3月22日
YouTube
Smart Penguins
9:43
Unity Basics - How to access other scripts
已浏览 4798 次
2022年8月5日
YouTube
MetalStorm Games
20:43
Unity 2D Platformer Tutorial 13 - Interaction System Item Script Setup
已浏览 7346 次
2020年8月20日
YouTube
Antarsoft
7:18
creating and transferring unity packages from one project to anot
…
已浏览 7787 次
2019年2月14日
YouTube
Johnathan Heath
How to COMMUNICATE BETWEEN SCRIPTS in Unity | Use Methods a
…
已浏览 161 次
2024年11月11日
YouTube
BAM GAMES & APPS - Unity Tutorials
Unity C# Access VARIABLE from ANOTHER SCRIPT!
已浏览 1.4万 次
2023年1月27日
YouTube
Freedom Coding
11:54
Access functions and variables in another script. Godot Engine.
已浏览 4.5万 次
2016年11月5日
YouTube
John Hamilton
58:22
How to Get Variables from Other Scripts in Unity — Presented by J
…
已浏览 3.7万 次
2020年1月29日
YouTube
Infallible Code
4:24
Unity Tutorial: How to Move Objects Along a Drawn Path in Unity 2D
已浏览 1.5万 次
2023年6月25日
YouTube
Pix and Dev
0:11
Unity Tip: Cloning Objects with Instantiate
已浏览 517 次
2023年8月17日
YouTube
Kory Code
4:54
How to call a FUNCTION FROM A DIFFERENT SCRIPT in Unity
已浏览 7.2万 次
2020年5月30日
YouTube
GDT Solutions ES
0:23
Cómo usar FUNCIONES y leer VARIABLES de OTRO SCRIPT en
…
已浏览 606 次
11 个月之前
YouTube
BAM APPS - Tutoriales en español de Unity
How to Reference a GameObject from a Script in an Instantiated Ob
…
已浏览 25 次
8 个月之前
YouTube
vlogize
9:09
Referencing Scripts and GameObjects in Unity
已浏览 6249 次
2021年12月12日
YouTube
SpawnCampGames
10:08
Instantiating Game Objects (Unity/C# tutorial)
已浏览 5629 次
2021年11月29日
YouTube
Mina Pêcheux
4:06
Get Player's Location data in Unity, Country, City, ...
已浏览 9120 次
2019年11月24日
YouTube
Hamza Herbou
13:53
Unity C# - How to interact between scripts
已浏览 8.1万 次
2017年7月30日
YouTube
Danndx
10:23
Spawning Objects in Unity [Using Instantiate]
已浏览 24.4万 次
2018年9月25日
YouTube
Press Start
44:49
Unity3D Equipping Items | Scriptable Object Inventory Syste
…
已浏览 4.3万 次
2019年12月7日
YouTube
Andy W
10:25
Unity Tutorial: Following an object
已浏览 3.6万 次
2016年3月15日
YouTube
Ather Omar
6:31
How to Play Audio from a Script in Unity
已浏览 2.4万 次
2020年4月28日
YouTube
Game Dev Beginner
观看更多视频
更多类似内容
反馈