Example #1
0
 void Start()
 {
     m_dameControl = GetComponent <DameController>();
     m_Anim        = GetComponent <Animator>();
     m_Anim.SetTrigger("fly");
 }
Example #2
0
 // Start is called before the first frame update
 void Start()
 {
     m_currentPos  = m_posRight;
     m_DameControl = GetComponent <DameController>();
 }
 // Start is called before the first frame update
 void Start()
 {
     m_Anim        = GetComponent <Animator>();
     m_DameControl = GetComponent <DameController>();
 }