I get to Change Material in Action list but not Get Material. Is there a way to implement this? Can you give me a clue on how to implement it with something like the AC.kickStarter function?
After I change the Material in one object I want to be able to save the its name in a string variable for comparison later
Comments
AC.KickStarter.settingsManager
As storing a material's name is a need unique to your game, you must use a custom Action. The code inside your Run function will be something along the lines of:
string materialName = myGameObject.GetComponent<Renderer>().materials[0].name;
AC.GlobalVariables.SetStringValue (myStringGlobalVariableID, materialName);
Where myGameObject is the object whose material you wish to record, and myStringGlobalVariableID is the ID number of the string variable to store it to.
Click Hotspot A: Material A is set in Variable 0
Click Hotspot B: Material B is set in Variable 1
Click Hotspot C: Material C is set in Variable 0
Click Hotspot A: Material A is set in Variable 1
You could then compare the two variables each time. Would that give you what you're looking for?