LegitTeddyBears

BaseProjectile

May 31st, 2017
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.43 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4.  
  5.     //Abstract Classes can not be put into the scene, they can however be inherited by objects in the scene
  6.     public abstract class BaseProjectile : MonoBehaviour
  7.     {
  8.         //BulletSpeed
  9.         public float Speed = 5.0f;
  10.  
  11.         public abstract void FireProjectile(GameObject launcher, GameObject target, int damage, float attackSpeed);
  12.     }
Advertisement
Add Comment
Please, Sign In to add comment