Skip to content

Instantly share code, notes, and snippets.

@kazuooooo
Created January 21, 2015 16:15
Show Gist options
  • Save kazuooooo/8f7a5288f3b30ac3f921 to your computer and use it in GitHub Desktop.
Save kazuooooo/8f7a5288f3b30ac3f921 to your computer and use it in GitHub Desktop.
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