Exemplo n.º 1
0
        public RolePerkModule(DiscordAccessor DA, InventoryModule IM, PerksManager PM, MDB DB) : base("PerkRoles", DB)
        {
            this.DA = DA;

            this.IM = IM;

            this.PM = PM;
        }
Exemplo n.º 2
0
        public UsersController(UserAccessor UA, DiscordAccessor DA, PerksManager PM)
        {
            this.UA = UA;

            this.DA = DA;

            this.PM = PM;
        }
	// Use this for initialization
	void Start ()
	{
		The_Perk = GameObject.Find ("Double Points");
		perks    = GameObject.Find ("Perks Holder").GetComponent<PerksManager> ();
		enemy    = GameObject.FindGameObjectWithTag ("shotEnemy").GetComponent<Bullet_hit> ();
		perkImage.enabled = false;
		life.perkImage.enabled = false;
		power.perkImage.enabled = false;
	}
Exemplo n.º 4
0
	// Use this for initialization
	void Start ()
	{
		The_Perk = GameObject.Find ("Life");
		perks = GameObject.Find ("Perks Holder").GetComponent<PerksManager> ();
		player = GameObject.Find ("Player").GetComponent<PlayerHealth> ();
		perkImage.enabled = false;
		power.perkImage.enabled = false;
		points.perkImage.enabled = false;
	}
Exemplo n.º 5
0
 void Start()
 {
     perksManager     = FindObjectOfType <PerksManager>();
     soundsController = FindObjectOfType <SoundsController>();
 }