Esempio n. 1
0
        /// <summary>This will load the current texture state with the specified save name.</summary>
        public void Load(string saveName)
        {
            if (activated == true && current != null)
            {
                var tempTexture = default(Texture2D);

                if (P3dHelper.TryLoadTexture(saveName, ref tempTexture) == true)
                {
                    P3dHelper.Blit(current, tempTexture);

                    P3dHelper.Destroy(tempTexture);
                }
            }
        }