常用方法
常用方法
常用方法
常用方法
public void Init(Storm _storm, GameObject _label) { storm = _storm; stromColCat = StormColorCode.Instance.GetColorCodeAndDescription(float.Parse(_storm.wind)); Quad.GetComponent <Renderer>().material = stromColCat.Mat; Label = _label; InitLabel(storm, stromColCat); Vector3 pos = transform.localPosition; //transform.localPosition = new Vector3(pos); }