// Update is called once per frame void Update() { this.animator.SetInteger("number", number); this.animator.SetInteger("color", TrafficColor.getValue(this.color)); }
// Update is called once per frame void Update() { this.animator.SetInteger("State", TrafficColor.getValue(this.color)); }