//To use AppDoamin in Unity you need to use using System; using System.Reflection; //Before your Class