FlatRedBall.Glue.ElementRuntime.SetCustomVariableValue C# (CSharp) 메소드

SetCustomVariableValue() 공개 메소드

public SetCustomVariableValue ( string name, object value ) : void
name string
value object
리턴 void
        public void SetCustomVariableValue(string name, object value)
        {
            for(int i = 0; i < mCustomVariables.Count; i++)
            {
                PropertyValuePair pvp = mCustomVariables[i];

                if (pvp.Property == name)
                {
                    pvp.Value = value;

                    mCustomVariables[i] = pvp;
                    break;
                }
            }
        }