If I remove the Limit to Camera, it works. It should work even if limiting to the camera is active.
Generally: You could create a script that, if an item is in the inventory, both it's hotspot and it's sprite (which are linked to the inventory ID) …
A fix in SaveSystem to cope for expanded arrays after saves.
case VariableType.FloatArray: { // Keep the size defined in the inspector - only restore valu…
ActionVarCheck.cs
Properties
public enum FloatArrayCheckMode { AtIndex, AllElements }; public FloatArrayCheckMode floatArrayCheckMode = FloatArrayCheckMode.AtIndex; public int arrayIndex = 0; public int arrayIndexParam…
GVar.gs helper
/** Its values, if a FloatArray. */ public float[] FloatArrayValue { get { if (floatArrayVal == null) floatArrayVal = new float[0]; return floatArrayVal; …
The idea is to allow multiple checks without many variables.
E.g. an action is taken when a book is taken and a page read. You have to have 2 variables and two actions to check both.
Instead you can have a float[2]. I checked and modified gvar.cs t…
Thanks, you may also implement my auto-view script with an option in the camera. That is, when a camera is selected, automatically show the current background instead of pressing the "SetActive" key. Very often this is the case, when the c…