// Start is called before the first frame update void Awake() { if (Wmanager != null && Wmanager != this) { Destroy(this.gameObject); } else { Wmanager = this; } }
private void Start() { wm = GameObject.FindWithTag("WoodManager").GetComponent <WoodManager>(); }
public WoodController() { wMan = new WoodManager(); }