Hi I am relatively new to unity and programming although I have a lot of experience in batch. What I want to do is to make reams = 50 sheets my code so far is
using UnityEngine;
using System.Collections;
using UnityEngine.UI;
public class SupplyManager : MonoBehaviour {
public MakeManager mkr;
private void Start()
{
mkr.reams = mkr.sheets * 50;
}
but that would set reams to 50 * “number of sheets”
I want to make it so that 50 sheets equal one ream so that when the user buys a ream a text component displays the variable sheets as 50 but reams is equal to 1
By the way mkr. is from another script