Quantcast
Channel: Latest Questions by hardmode2236
Viewing all articles
Browse latest Browse all 112

.Add not a function of my array.

$
0
0
i have this array of my "Buff" class (or at least i thought it was.) var buffs: Buff[]; then later when i try to add a buff to the array: buffs.Add(newBuff); and it says .Add is not a member of "Buff[]". i must have created the array wrong? but i'm not sure how.

Viewing all articles
Browse latest Browse all 112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>