void Start()
 {
     parentCollider = this.collider;
     if (parentCollider is SphereCollider)
     {
         childCollider = this.gameObject.GetComponentsInChildren <SphereCollider>()[1];
         colliderType  = EBulletColliderType.SPHERE;
     }
     else if (parentCollider is BoxCollider)
     {
         childCollider = this.gameObject.GetComponentsInChildren <BoxCollider>()[1];
         colliderType  = EBulletColliderType.BOX;
     }
     else if (parentCollider is CapsuleCollider)
     {
         childCollider = this.gameObject.GetComponentsInChildren <CapsuleCollider>()[1];
         colliderType  = EBulletColliderType.CAPSULE;
     }
 }
 void Start()
 {
     parentCollider = this.collider;
     if (parentCollider is SphereCollider)
     {
         childCollider = this.gameObject.GetComponentsInChildren<SphereCollider>()[1];
         colliderType = EBulletColliderType.SPHERE;
     }
     else if (parentCollider is BoxCollider)
     {
         childCollider = this.gameObject.GetComponentsInChildren<BoxCollider>()[1];
         colliderType = EBulletColliderType.BOX;
     }
     else if (parentCollider is CapsuleCollider)
     {
         childCollider = this.gameObject.GetComponentsInChildren<CapsuleCollider>()[1];
         colliderType = EBulletColliderType.CAPSULE;
     }
 }
	public override void Initalize(BulletController controller) 
	{
		updateController(controller);

		parentCollider = controller.collider;
		if(parentCollider is SphereCollider)
		{
			childCollider = controller.gameObject.GetComponentsInChildren<SphereCollider>()[1];
			colliderType = EBulletColliderType.SPHERE;
		}
		else if(parentCollider is BoxCollider)
		{
			childCollider = controller.gameObject.GetComponentsInChildren<BoxCollider>()[1];
			colliderType = EBulletColliderType.BOX;
		}
		else if(parentCollider is CapsuleCollider)
		{
			childCollider = controller.gameObject.GetComponentsInChildren<CapsuleCollider>()[1];
			colliderType = EBulletColliderType.CAPSULE;
		}

		getChildColliderValue();
	}
    public override void Initalize(BulletController controller)
    {
        updateController(controller);

        parentCollider = controller.collider;
        if (parentCollider is SphereCollider)
        {
            childCollider = controller.gameObject.GetComponentsInChildren <SphereCollider>()[1];
            colliderType  = EBulletColliderType.SPHERE;
        }
        else if (parentCollider is BoxCollider)
        {
            childCollider = controller.gameObject.GetComponentsInChildren <BoxCollider>()[1];
            colliderType  = EBulletColliderType.BOX;
        }
        else if (parentCollider is CapsuleCollider)
        {
            childCollider = controller.gameObject.GetComponentsInChildren <CapsuleCollider>()[1];
            colliderType  = EBulletColliderType.CAPSULE;
        }

        getChildColliderValue();
    }
	public BulletExplosion()
		: base()
	{
		colliderType = EBulletColliderType.NONE;
        isCollision = true;
	}
 public BulletExplosion()
     : base()
 {
     colliderType = EBulletColliderType.NONE;
     isCollision  = true;
 }