Pokemon3D.Scripting.ScriptContext.GetVariable C# (CSharp) Method

GetVariable() private method

private GetVariable ( string identifier ) : SVariable
identifier string
return Pokemon3D.Scripting.Types.SVariable
        internal SVariable GetVariable(string identifier)
        {
            if (_variables.ContainsKey(identifier))
            {
                return _variables[identifier];
            }
            else
            {
                return Parent?.GetVariable(identifier);
            }
        }