// Use this for initialization public override void Awake() { base.Awake(); rambleLayer = 1 << LayerMask.NameToLayer("Obstacle") | 1 << LayerMask.NameToLayer("Enemy") | 1 << LayerMask.NameToLayer("ObstacleForIn"); state = 0; bullets = GameObject.Find("EnemyMouseBullets").GetComponent <EnemyBulletSystem>(); hp = 6; getHurtEffect = GetComponent <GetHurtEffect>(); }
public void SetSystem(EnemyBulletSystem _system) { system = _system; }