Example #1
0
    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);
    }