示例#1
0
 /// <summary>
 /// Call this method to initialize this enemy's data.
 /// </summary>
 /// <param name="path">Start paths</param>
 /// <param name="enemyFormation">Enemy main formation.</param>
 /// <param name="data">Current game data</param>
 /// <param name="enemyType">Enemy type</param>
 public override void Init(Path path, FormationController enemyFormation, GameData data, EnemyType enemyType)
 {
     base.Init(path, enemyFormation, data, enemyType);
     _Renderer.sprite = _StartForm;
     _isShooting      = false;
     _LaserController.Init(this, CharacterType.Enemy);
 }