UnityEngine.Animator.SetBool C# (CSharp) Method

SetBool() public method

public SetBool ( int id, bool value ) : void
id int
value bool
return void
		public void SetBool(int id, bool value){}
		public int GetInteger(string name){}

Same methods

Animator::SetBool ( string name, bool value ) : void

Usage Example

Example #1
2
 void Start()
 {
     animator = GetComponent<Animator>();
     dragon = GetComponent<Dragon>();
     animator.SetBool("Flying",false);
     animator.SetBool("Breath Fire", false);
 }
All Usage Examples Of UnityEngine.Animator::SetBool
Animator