Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
1,343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.25 KB | None | 0 0
  1. using UnityEngine;
  2.  
  3. public abstract class Spell : MonoBehaviour
  4. {
  5.     //Add stuff common to all spells like baseDamage
  6.     protected float baseDamage = 10;
  7.  
  8.     //Add functions common to all spells like cast
  9.     public abstract void Cast();
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement