Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to set a transform equal to something unity

public Transform tr; //make ref. in inspector window

tr.position = new Vector2(x, y);
 
PREVIOUS NEXT
Tagged: #set #transform #equal #unity
ADD COMMENT
Topic
Name
8+2 =