Transform.localScalevar localScale : Vector3DescriptionThe scale of the transform relative to the parent.
JavaScripts
using UnityEngine;
using System.Collections; public class example : MonoBehaviour { void Awake() { transform.localScale += new Vector3(0.1F, 0, 0); } } import UnityEngine
import System.Collections class example(MonoBehaviour): def Awake(): transform.localScale += Vector3(0.1F, 0, 0) |
