Created
January 21, 2015 16:10
-
-
Save kazuooooo/3fbcea699fa3b18ea280 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 | |
| { | |
| // Use this for initialization | |
| void Start () | |
| { | |
| } | |
| // Update is called once per frame | |
| void Update () | |
| { | |
| } | |
| 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