Question by
ZachAttack9280 · Sep 27, 2015 at 06:42 PM ·
error message
Error CS0535?
using System.Collections; using UnityEngine; using UnityEngine.EventSystems; using UnityEngine.UI;
public class Slider : MonoBehaviour, IPointerClickHandler { public UnityEngine.UI.Slider barvalue ; private float maxslidervalue = 100; public int jump;
//this makes the progress bar load in 1second intervals with a value of "jump" IEnumerator IncreaseSliderValue() { //Instead of incrementing value in start function. Put your code into a coroutine. for (int val = 0; val
}
}
//Creat a new method which will call above coroutine when the Button is clicked.
public void StartSLider(){
StartCoroutine(IncreaseSliderValue());
}
}
Error: Assets/Slider.cs(7,14): error CS0535: Slider' does not implement interface member
UnityEngine.EventSystems.IPointerClickHandler.OnPointerClick(UnityEngine.EventSystems.PointerEventData)'
Comment