Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

call function from another script unity

void Start()
{
    ClickToMove = FindObjectOfType<ClickToMoveScript>();
    ClickToMove.PlayWoodCuttingAnim();  
}  
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #call #function #script #unity
ADD COMMENT
Topic
Name
8+3 =