Pokemon3D.Scripting.ScriptContext.IsVariable C# (CSharp) 메소드

IsVariable() 개인적인 메소드

Returns if this context has a variable with a given identifier defined.
private IsVariable ( string identifier ) : bool
identifier string
리턴 bool
        internal bool IsVariable(string identifier)
        {
            if (_variables.ContainsKey(identifier))
            {
                return true;
            }
            else
            {
                return Parent != null && Parent.IsVariable(identifier);
            }
        }