// Use this for initialization


    // Update is called once per frame
    void Update()
    {
        if (VRTK_PlayerBody == null)
        {
            VRTK_PlayerBody = GameObject.Find("[VRTK][AUTOGEN][BodyColliderContainer]");
            if (VRTK_PlayerBody != null)
            {
                ASP_Damageable newScript = VRTK_PlayerBody.transform.parent.gameObject.AddComponent(typeof(ASP_Damageable)) as ASP_Damageable;
                newScript.Setup(damageMethod, damageSource, hitPoints, proximityDamageInterval, victoryPointValueWhenKilled, particlesObject);
            }
        }
    }
 public void UnRegisterNewProximityDamagableObject(ASP_Damageable removeObject)
 {
     ProximityDamageableObjects.Remove(removeObject);
 }
 void Start()
 {
     damageScript = GetComponent <ASP_Damageable>();
 }
 public void RegisterNewProximityDamagableObject(ASP_Damageable newObject)
 {
     ProximityDamageableObjects.Add(newObject);
 }