public Autoload ( string &name, string &texture ) : bool | ||
name | string | |
texture | string | |
Résultat | bool |
public virtual bool Autoload(ref string name, ref string texture)
{
return mod.Properties.Autoload;
}
private void AutoloadProjectile(Type type) { ModProjectile projectile = (ModProjectile)Activator.CreateInstance(type); projectile.mod = this; string name = type.Name; if (projectile.Autoload(ref name)) { AddProjectile(name, projectile); } }