What do you want to save?
Add Code snippet
New code examples
-
C# 2022-02-28 14:55:08
unity object with gameobject
//define "myObject" //(asign in in inspector) public GameObject myObject; //runs when you hit the play button void Start() { //change the name to "myObjectsNewName" myObject.name = "myObjectsNewName"; } //Note for Unity a... Add solution -
C# 2021-09-26 22:14:02
c# unity gameObject.script
//define "myObject" //(asign in in inspector) public GameObject myObject; //runs when you hit the play button void Start() { //change the name to "myObjectsNewName" myObject.name = "myObjectsNewName"; } //Note for Unity a... Add solution