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