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

AddPrototype() 개인적인 메소드

private AddPrototype ( Prototype prototype ) : void
prototype Pokemon3D.Scripting.Types.Prototypes.Prototype
리턴 void
        internal void AddPrototype(Prototype prototype)
        {
            if (_prototypes.ContainsKey(prototype.Name))
                _prototypes[prototype.Name] = prototype;
            else
                _prototypes.Add(prototype.Name, prototype);
        }