This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sing System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine;using System.Collections; | |
using System; | |
using UnityEngine; | |
[CreateAssetMenu(fileName="Enemy", menuName="Enemy")] | |
public class EnemyObject : ScriptableObject{ | |
public GameObject Enemy; | |
public Difficulty LevelToSpawnAt; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sing System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.UI; | |
public class ShootingPlatform : Enemy | |
{ | |
GameObject Player; | |
public int StartingHeatlth; | |
public GameObject Bullet; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class SinoSodalBullet : MonoBehaviour | |
{ | |
public float Speed; | |
private void Start(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class SinoSodalEnemy : Enemy | |
{ | |
public Vector3 Target; | |
public Vector3 Direction; | |
public GameObject SinosodalBulletObject; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Missile_Enemy : Enemy | |
{ | |
public Entity Target; | |
public float Speed; | |
public AudioClip DeathSound; | |
public int Score; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class StraightLiner : Enemy | |
{ | |
GameObject Target; | |
Vector3 Direction; | |
public float Speed; | |
public float TimeTillDeath; //How long until self-destruct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class ParabolicBullet : Bullet | |
{ | |
Vector2 StartPoint; | |
Vector2 EndPoint; | |
Vector2 CurvePoint; | |
Vector2 Derv; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class CircleWeapon : Bullet | |
{ | |
public int DamageValue; | |
public int Speed; | |
public float Lifetime; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class Pea :Bullet | |
{ | |
public int DamageValue; | |
public float Speed; | |
public float TimeToDestroy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[CreateAssetMenu(fileName="Weapon", menuName="Weapon")] | |
public class WeaponObject : ScriptableObject | |
{ | |
public GameObject BulletObject; | |
public string Name; | |
public float CooldownTime; |
NewerOlder