Exemplo n.º 1
0
    void Awake()
    {
        this.controller = GetComponent<ParticlesController>();
        this.follow = new FollowTarget(this);
        this.noTarget = new NoTarget(this);
        this.gameObject.SetActive(false);

        damageRates = new Dictionary<ArmorType, float>();
        damageRates.Add(ArmorType.Light, LightArmorDamageRate);
        damageRates.Add(ArmorType.Medium, MediumArmorDamageRate);
        damageRates.Add(ArmorType.Heavy, HeavyArmorDamageRate);
    }
 public CharacterActionEvent(NoTarget actionNoTarget)
 {
     Act         = Action.NoTarget;
     ActNoTarget = actionNoTarget;
 }