示例#1
0
 void Start()
 {
     mBossAction      = GetComponent <BOSSAction>();
     mAudioSource     = GetComponent <AudioSource>();
     randomX          = Random.Range(-2, 2);
     Hostile          = true;
     m_SpriteRenderer = GetComponent <SpriteRenderer>();
 }
示例#2
0
 // Start is called before the first frame update
 void Start()
 {
     mBossAction = GetComponentInParent <BOSSAction>();
 }