Answers for "call void from another script unity"

C#
7

how to reference function in unity

public GameObject myObject; //make ref. in inspector window

myObject.GetComponent<MyScript>().MyFunction();
Posted by: Guest on June-27-2020
0

unity run void from another script

myObject.GetComponent<MyScript>().MyFunction();
Posted by: Guest on July-11-2021

Code answers related to "call void from another script unity"

C# Answers by Framework

Browse Popular Code Answers by Language