C#C
C#4y ago
Yonatan

Override Function and add variables?

is it possible to have a function in the base class:
public virtual void StartSpawnAnimation()
    {
        Debug.Log("Test");
    }


And than Override it in a derived class and add a variable:
public override void StartSpawnAnimation(bool Something)
    {
        Debug.Log(Something);
    }
?
Was this page helpful?