// Use this for initialization void Start() { handler = new ExampleEventHandler(); StoreController.Initialize(new SpaceStoreAssets()); // Initialization of 'ExampleLocalStoreInfo' and some example usages in ExampleEventHandler.onStoreControllerInitialized }
/// <summary> /// Starts this instance. /// Use this for initialization. /// </summary> void Start() { handler = new ExampleEventHandler(); StoreController.Initialize(new MuffinRushAssets()); tImgDirect = (Texture2D)Resources.Load("SoomlaStore/images/img_direct"); fgoodDog = (Font)Resources.Load("SoomlaStore/GoodDog" + fontSuffix); fgoodDogSmall = (Font)Resources.Load("SoomlaStore/GoodDog_small" + fontSuffix); tLogoNew = (Texture2D)Resources.Load("SoomlaStore/images/soomla_logo_new"); tWhitePixel = (Texture2D)Resources.Load("SoomlaStore/images/white_pixel"); fTitle = (Font)Resources.Load("SoomlaStore/Title" + fontSuffix); tMuffins = (Texture2D)Resources.Load("SoomlaStore/images/Muffins"); fName = (Font)Resources.Load("SoomlaStore/Name" + fontSuffix); fDesc = (Font)Resources.Load("SoomlaStore/Description" + fontSuffix); fBuy = (Font)Resources.Load("SoomlaStore/Buy" + fontSuffix); tBack = (Texture2D)Resources.Load("SoomlaStore/images/back"); tGetMore = (Texture2D)Resources.Load("SoomlaStore/images/GetMore"); tTitle = (Font)Resources.Load("SoomlaStore/Title" + fontSuffix); }
// Use this for initialization void Start() { handler = new ExampleEventHandler(); StoreController.Initialize(new MuffinRushAssets()); // Initialization of 'ExampleLocalStoreInfo' and some example usages in ExampleEventHandler.onStoreControllerInitialized }