Created
November 6, 2019 11:15
-
-
Save andybak/540bb6cf2f6ceada6387cc673f971498 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
public ChangeStuff() | |
{ | |
gameobject.GetComponent<MeshRenderer>().material.color = Color.red; | |
transform.localScale = new Vector3(5,5,5); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment