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

IsPrototype() private method

private IsPrototype ( string identifier ) : bool
identifier string
return bool
        internal bool IsPrototype(string identifier)
        {
            if (_prototypes.ContainsKey(identifier))
            {
                return true;
            }
            else
            {
                if (Parent != null)
                {
                    return Parent.IsPrototype(identifier);
                }
            }
            return false;
        }