예제 #1
0
    void OnTriggerEnter(Collider other)
    {
        CreatureManager victimsManager = other.GetComponent <CreatureManager> ();

        if (victimsManager != null)
        {
            victimsManager.RecieveDamage(CharacterManager.GetDamageDealt(DamageType.Mele));
        }
    }