Referencia a una clase de String Unity

using UnityEngine;
using System;

public string className;

public void AddClassToGameobject()
{
	gameObject.AddComponent(Type.GetType(className));
}
Cisco Ramon