Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 void Awake()
 {
     rb           = GetComponent <Rigidbody2D>();
     Activator    = GameObject.FindGameObjectWithTag("collider1");
     getactivator = Activator.GetComponent <activator>();
     Activator2   = GameObject.FindGameObjectWithTag("collider3");
     getPlayer2   = Activator2.GetComponent <Player2>();
 }
Ejemplo n.º 3
0
        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));
        }