Edit: Many problems have surfaced with the 1.32/1.33 release that I'm sincerely hoping are fixed with 1.33a.
- Added: Camera: Crossfade Action - use to crossfade from one Camera to another
- Added: Engine: Check scene now allows both the current and previous scene numbers to be queried
- Added: Cursor influence settings for GameCameraAnimated
- Added: Ease In and Ease Out options for Camera: Switch and Object: Transform Actions
- Added: Ability for GameCameras to use Default PlayerStart as reference for initial position
- Added: Ability for Triggers to cancel pending Interactions if activated while walking towards a Hotspot
- Added: "Absolute" setting for Menu and Element Size property - use to set sizes to exact pixels, regardless of resolution
- Added: "CycleCursors" as an Input axis for "Choose Interaction Then Hotspot" mode
- Fixed: Errors when compiling to iPhone (clear Options cache!)
- Fixed: Asset-based ActionLists not always displaying "Check"-type Actions correctly
- Fixed: Actions deleted in ActionList Editor window sometimes re-appearing when game is tested
- Fixed: Errors with using Engine: Run ActionList in Asset-based ActionLists
- Fixed: Characters not even moving in a straight line if no default NavMesh is present
- Fixed: Menus blocking Hotspot cursor when locked off
- Fixed: Changes in Menu states being reset after changing scene (properly, this time!)
- Fixed: Using Menu Button clicks to simulate input axis not working continually
- Fixed: Interaction buttons no longer working for Choose Interaction Then Hotspot mode
Comments
Anyone else seeing this error?
Assets/Scripts/ChangeColor.cs(66,100): error CS1061: Type `GlobalVariables' does not contain a definition for `GetVarValue' and no extension method `GetVarValue' of type `GlobalVariables' could be found (are you missing a using directive or an assembly reference?)
is coming from this line
if(GameObject.FindWithTag (Tags.persistentEngine).GetComponent <GlobalVariables>().GetVarValue (2) == "1"){
audio.Play ();
}
The reading of variables was changed in 1.32, as was stated in the notes. You can follow this tutorial to update your custom script.
I love the work you do
This is what i now get
Assets/Scripts/ChangeColor.cs(66,92): error CS0176: Static member `GlobalVariables.GetIntegerValue(int)' cannot be accessed with an instance reference, qualify it with a type name instead
using this
private int idvar=2;
if(GameObject.FindWithTag (Tags.persistentEngine).GetComponent <GlobalVariables>().GetIntegerValue (idvar) == "1"){
audio.Play ();
}
The RuntimeVariables script has been renamed to GlobalVariables. If Unity does not rename this script automatically when updating, please do so manually, and ensure that it is attached to the PersistentEngine prefab"
It should fix the two main problems with the current release, namely total shutdown when in iPhone mode, and the GlobalVariables script name change.
I've reverted GlobalVariables back to RuntimeVariables, and written a new GlobalVariables script to handle the static variables. The update should fix things automatically, UNLESS you didn't previously rename the script after updating to 1.32 or 1.33.
Please bear with me on this one. I'm very sorry for the trouble this release has caused, and I right now my only concern is that things are working as they should be.
@TayannaStudios: Please update again. If your problem with the Hotspot persists, check your Menu Manager is loaded properly - otherwise create a new discussion in the Technical forum.
Try removing the Adventure Creator folder completely and then re-importing. So long as the data specific to your game is outside of that folder, you should be fine to do so.
@skitt2501: If you follow the steps I gave to you, you shouldn't need the b) update. It simply places the GlobalVariables script into the Static folder, to avoid duplication - just move it there after a successful import and you'll be up to date.
1) Making sure any custom assets are outside of the AdventureCreator folder
2) Deleting the entire AdventureCreator folder
3) Re-importing the updated package