Created
January 21, 2015 16:15
-
-
Save kazuooooo/8f7a5288f3b30ac3f921 to your computer and use it in GitHub Desktop.
This file contains hidden or 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; | |
| using System.Collections; | |
| public class cubeScript : MonoBehaviour | |
| { | |
| public void bigsize () | |
| { | |
| this.transform.localScale = new Vector3 (3.0f, 3.0f, 3.0f); | |
| } | |
| } | |
| public class Test | |
| { | |
| public void makeBigMyself(GameObject obj){ | |
| obj.transform.localScale = new Vector3(3.0f,3.0f,3.0f); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment