Forum rules - please read before posting.

Scripting Variable Presets

edited July 2018 in Technical Q&A
Hi, I'm using AC v1.62.6, Unity 2018.1.2.

I'm trying to figure out how to use code to have preset variables.  I noticed AC.LocalVariables.AssignFromPreset() but it throws an error "An object reference is required to access non-static member", and I noticed GlobalVariables doesn't have an AssignFromPreset function.  Am I going in the right direction?

Thanks!

Comments

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.