Quantcast
Channel: Questions in topic: "error message"
Viewing all articles
Browse latest Browse all 2891

CS0101:namespace '' already contains a definition for script 'AutoMoney' a message that pops up and i dont know what to do

$
0
0
using System.Collections; using System.Collections.Generic; using UnityEngine; public class AutoMoney : MonoBehaviour { public bool CreateMoney = false; public static int MoneyIncrease = 1; public int InternalIncrease; void Update() { InternalIncrease = MoneyIncrease; if (CreateMoney == false) { CreateMoney = true; StartCoroutine(CreateTheMoney()); } } IEnumerator CreateTheMoney () { RisingNumber.NumCount += InternalIncrease; yield return new WaitForSeconds(1); CreateMoney = false; } } ,

Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>