Sorry to post so soon, but this isn’t an easy to find answer!
I’m trying to inherit( in it’s most basic form…) but it’s not finding my variable and i’m at a loss why.
This is how i’ve always done it, my other scripts can currently do it too!
enemy.cs
using UnityEngine;
using System.Collections;
public class enemy : MonoBehaviour {
public int myInt = 4;
}
monster.cs
using UnityEngine;
using System.Collections;
public class monster : enemy {
}