English
全部
搜索
图片
视频
地图
资讯
更多
购物
航班
旅游
笔记本
报告不当内容
请选择下列任一选项。
无关
低俗内容
成人
儿童性侵犯
时长
全部
短(小于 5 分钟)
中(5-20 分钟)
长(大于 20 分钟)
日期
全部
过去 24 小时
过去一周
过去一个月
去年
清晰度
全部
低于 360p
360p 或更高
480p 或更高
720p 或更高
1080p 或更高
源
全部
Dailymotion
Vimeo
Metacafe
Hulu
VEVO
Myspace
MTV
CBS
Fox
CNN
MSN
价格
全部
免费
付费
清除筛选条件
安全搜索:
中等
严格
中等(默认)
关闭
筛选器
unity.com
Getting the value of a variable in a script from another script
I have 2 C# scripts and I want to access a variable in one of them from the other. I have read several posts and even watched the video tutorial on GetComponent but I cannot get the result. I am attaching the code below for your reference. There are 2 scripts: “scriptTest1” and “scriptTest2”. “scriptTest2” has a public integer ...
2014年7月27日
Unity Scripting Tutorial
1:28:54
What's NEW in Unity 6.3 LTS?
YouTube
Unity
已浏览 9955 次
4 天之前
0:32
Bring 3D assets into your 2D project with Unity 6.3 LTS's new workflow!
YouTube
Unity
已浏览 7101 次
4 天之前
8:26
Unity 6.3 LTS is RELEASED! (This is the one you should use!)
YouTube
Code Monkey
已浏览 2.6万 次
4 天之前
热门视频
Unity Learn
unity.com
2023年11月17日
Unity Learn
unity.com
2019年7月29日
How To Get Game Objects With A Specific Script Attached – Unity C#
stuartspixelgames.com
2017年8月8日
Unity Move Object with Code
2:04:31
LEARN UNITY - The Most BASIC TUTORIAL I'll Ever Make
YouTube
Imphenzia
已浏览 340.1万 次
2020年7月24日
6:20:20
Learn Unity Multiplayer (FREE Complete Course, Netcode for Game Objects Unity Tutorial 2025)
YouTube
Code Monkey
已浏览 63.2万 次
2023年3月6日
46:39
The Unity Tutorial For Complete Beginners
YouTube
Game Maker's Toolkit
已浏览 601.8万 次
2022年12月2日
Unity Learn
2023年11月17日
unity.com
Unity Learn
2019年7月29日
unity.com
How To Get Game Objects With A Specific Script Attached – Unity C#
2017年8月8日
stuartspixelgames.com
How to get a variable from another script in Unity (the right way)
2020年12月2日
gamedevbeginner.com
How to access differents things through scripts (basic question)...
2017年4月14日
unity.com
1:48
How to Use GameObject from One Script in Another in Unity
2 个月之前
YouTube
vlogize
2:00
How to Store Script Names in Variables in Unity
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
15:26
Copy animations from character to another unity | 2020
已浏览 9977 次
2020年7月27日
YouTube
Gameaning Studio
16:29
Moving Player to Level Entrance Locations by Using Persistent Dat
…
已浏览 1万 次
2022年9月28日
YouTube
Chris' Tutorials
Variables estáticas - Guardar variables entre escenas - Unity Tu
…
已浏览 4761 次
2018年12月9日
YouTube
DBM
1:45
How to FIND A COMPONENT IN THE SCENE from Script in Unity, if the
…
已浏览 5802 次
2021年1月24日
YouTube
GDT Solutions ES
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
How to Access Variables from Other Scripts in Unity 5
已浏览 1.3万 次
2016年8月23日
YouTube
2KMIXEDIT
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
11:19
How To Switch Between Cameras To Always See Player - Unity Tuto
…
已浏览 4476 次
2019年1月13日
YouTube
Dapper Dino
4:54
How to call a FUNCTION FROM A DIFFERENT SCRIPT in Unity
已浏览 7.2万 次
2020年5月30日
YouTube
GDT Solutions ES
0:53
Instancias en Unity - Cómo Usar el Método de otro Script
已浏览 490 次
11 个月之前
YouTube
BAM APPS - Tutoriales en español de Unity
Unity Tutorial 15 - Variables and Data Types
已浏览 7380 次
2015年10月16日
YouTube
Daniel Wood
0:23
Cómo usar FUNCIONES y leer VARIABLES de OTRO SCRIPT en
…
已浏览 606 次
11 个月之前
YouTube
BAM APPS - Tutoriales en español de Unity
9:09
Referencing Scripts and GameObjects in Unity
已浏览 6249 次
2021年12月12日
YouTube
SpawnCampGames
Unity Learn
2019年7月27日
unity.com
10:08
Instantiating Game Objects (Unity/C# tutorial)
已浏览 5629 次
2021年11月29日
YouTube
Mina Pêcheux
4:49
Transform – Unity Visual Scripting
已浏览 1.9万 次
2022年1月18日
YouTube
NotSlot
4:06
Get Player's Location data in Unity, Country, City, ...
已浏览 9120 次
2019年11月24日
YouTube
Hamza Herbou
观看更多视频
更多类似内容
反馈