public CreateUserdata ( object obj ) : ScriptUserdata | ||
obj | object | |
return | ScriptUserdata |
public void Initialize(Script script, ScriptTable table) { Table = table; table.SetValue("com", script.CreateUserdata(this)); ScriptArray functions = table.GetValue("registerFunction") as ScriptArray; if (functions != null) { for (int i = 0; i < functions.Count();++i ) { registerFunctions.Add((string)(functions.GetValue(i).ObjectValue)); } } OnStart(); }