Ejemplo n.º 1
0
        static void OnLoad()
        {
            if (Instance == null)
            {
                throw new ArgumentException("No Core Asset Found");
            }

            Instance.Configure();
        }
Ejemplo n.º 2
0
        static void GameLoad()
        {
            if (!InstanceAvailable)
            {
                throw new Exception("No Game Asset Found");
            }

            Instance.Configure();
        }