Question by 
               DiamondMC102 · Sep 10, 2017 at 02:09 AM · 
                2d game2d-platformerrigidbody2dcollision detectioncollider2d  
              
 
              No overload for method. (Question)
Assets/Scripts/Indingo_Lava_Burst_Glitch_Fixed.cs(26,3): error CS1501: No overload for method ifIndingoCollidesWithEnemy’ takes 0′ arguments
 using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
  
  public class Indingo_Lava_Burst_Glitch_Fixed : MonoBehaviour {
  
      private Indingo_Lava_Burst_Collider_Detecter_Attach_On_Enemies disableLavaBurst01;
  
      private Indingo_Lava_Burst_Activator_Deactivator_Attach_On_Indingo disableLavaBurst02;
  
      // Use this for initialization
      void Start () {
  
          disableLavaBurst01 = GetComponent<Indingo_Lava_Burst_Collider_Detecter_Attach_On_Enemies>();
  
          disableLavaBurst02 = GetComponent<Indingo_Lava_Burst_Activator_Deactivator_Attach_On_Indingo>();
  
          disableLavaBurst01.enabled = false;
          disableLavaBurst02.enabled = false;
  
      }
      
      // Update is called once per frame
      void FixedUpdate () {
  
          ifIndingoCollidesWithEnemy ();
  
      }
  
      private void ifIndingoCollidesWithEnemy(Collision2D collision)
      {
          if (collision.gameObject.tag == "Enemy") 
          {
  
              disableLavaBurst01.enabled = true;
              disableLavaBurst02.enabled = true;
  
          }
  
          else 
          {
              disableLavaBurst01.enabled = false;
              disableLavaBurst02.enabled = false;
          }
      }
  
  }
  
               Comment
              
 
               
              Your answer
 
 
             Follow this Question
Related Questions
Player passenger moving when being pushed by two platforms 0 Answers
LERPing Rigidbody2D still passing through collider 0 Answers
Do I need Rigid2DBody if I don't plan to use physics? 2 Answers
Physics 2D with tile collider corner problem 2 Answers
2D Colliders don't actually touch, causing problems 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                