Esempio n. 1
0
        public override void OnEnable()
        {
            base.OnEnable();
            APILoad.api = this;
            GameObject obj = new GameObject();

            APILoader = obj.AddComponent <APILoad>();
            APILoader.Initialise();

            //Used to set the parent of all debug boxes to obj
            OLogger.SetupObject(obj);
        }