private Skill(string name, string description, uint price, List <Skill> next, activator act) { this.name = name; this.description = description; this.act = act; this.next = next; }
void Awake() { rb = GetComponent <Rigidbody2D>(); Activator = GameObject.FindGameObjectWithTag("collider1"); getactivator = Activator.GetComponent <activator>(); Activator2 = GameObject.FindGameObjectWithTag("collider3"); getPlayer2 = Activator2.GetComponent <Player2>(); }
public static IConstructionReturnMessage DoSimpleXADActivation(IConstructionCallMessage msg) { int domain_no = Interlocked.Increment(ref _domain_no); AppDomain ad = AppDomain.CreateDomain("AutoDomain #" + domain_no, null, null); activator a = (activator)(ad.CreateInstance(null, typeof(activator).FullName)).Unwrap(); return(a.Activate(msg)); }