public override void FirstSetUp() { base.FirstSetUp(); if (aimingType == EnemyAimingType.AimTowardPlayer) { targetPlayer = GameManager.gameManager.GetPlayer; } screenKillTransform = GameManager.gameManager.GetGameScroller.GetKillTransform; screenEnterTransform = GameManager.gameManager.GetGameScroller.GetEnterTransform; GameManager.gameManager.AddActionToOnGameOver(StopBehaviour); }
public override void OnEnable() { base.OnEnable(); targetPlayerSpaceShip = target as PlayerSpaceShipScript; }
public void SetUp(PlayerSpaceShipScript playerShip) { player = playerShip; }