public void Clear() { this.type = HitTest.Type.Generic; this.AttackRay = (Ray)null; this.Radius = 0.0f; this.Forgiveness = 0.0f; this.MaxDistance = 0.0f; this.RayHit = (RaycastHit)null; this.MultiHit = false; this.BestHit = false; this.DidHit = false; this.damageProperties = (DamageProperties)null; this.gameObject = (GameObject)null; this.collider = (Collider)null; this.ignoreEntity = (BaseEntity)null; this.HitEntity = (BaseEntity)null; this.HitPoint = (Vector3)null; this.HitNormal = (Vector3)null; this.HitDistance = 0.0f; this.HitTransform = (Transform)null; this.HitPart = 0U; this.HitMaterial = (string)null; }
public void Clear() { this.type = HitTest.Type.Generic; this.AttackRay = new Ray(); this.Radius = 0f; this.Forgiveness = 0f; this.MaxDistance = 0f; this.RayHit = new RaycastHit(); this.MultiHit = false; this.BestHit = false; this.DidHit = false; this.damageProperties = null; this.gameObject = null; this.collider = null; this.ignoreEntity = null; this.HitEntity = null; this.HitPoint = new Vector3(); this.HitNormal = new Vector3(); this.HitDistance = 0f; this.HitTransform = null; this.HitPart = 0; this.HitMaterial = null; }