示例#1
0
        //Init the API Hooks
        internal static void APIAwake()
        {
            //set up the hookable object

            fetch = HaystackResourceLoader.Instance;

            //set up any events we need from the core code

            //flag it ready
            APIReady = true;
        }
示例#2
0
        private void APIDestroy()
        {
            //tear it down
            fetch = null;

            //Tear down any events we need to remove
            //try {

            //} catch (Exception) { }

            APIReady = false;
        }