Property | Value |
---|---|
Id | UEA0008 |
Category | Performance |
Severity | Warning |
using UnityEngine;
public abstract class Animal {
public abstract string Speak();
}
public class Cow : Animal {
public override string Speak() {
return "Moo";
}
}
using UnityEngine;
public abstract class Animal {
public abstract string Speak();
}
public sealed class Cow : Animal {
public override string Speak() {
return "Moo";
}
}
https://blogs.unity3d.com/2016/07/26/il2cpp-optimizations-devirtualization/