Reply To: Installing or upgrading in Unity

Forum Archive Installing or upgrading in Unity Reply To: Installing or upgrading in Unity

#29017
Deborah Douglas
Participant

    Forgive the spacing I couldn’t make it single spaced.  I also have the same error for the “FPSCounter” and the “SimpleActivatorMenu”.  Here is one of the errors and the script it is referring to:

    Error in Console:  Assets\RealisticTreeAndGrassPack\Realistic Grass and Bush Pack3\Standard Assets\Utility\ForcedReset.cs(5,26): error CS0619: ‘GUITexture’ is obsolete: ‘GUITexture has been removed. Use UI.Image instead.

    Script:  

    using UnityEngine;

    using UnitySampleAssets.CrossPlatformInput;

    [RequireComponent(typeof(GUITexture))]

    public class ForcedReset : MonoBehavior {

         void Update () {

         // if we have forced a reset …

         if (CrossPlatformInputManager.GetButtonDown(“ResetObject”))

         {

               //…reload the scene

               Application.LoadLevelAsync (Application.loadedLevelName);

               }

          }

    }

    ———————————————————————————————————————————–