Пример #1
0
 // 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>();
 }
Пример #2
0
 public void SetSystem(EnemyBulletSystem _system)
 {
     system = _system;
 }