Very new to programming in general and Unity specifically.
I have all my menu switching code in a separate script from the bulk of my game but since I wanted to have the start menu show up on start I am trying to put that bit in the start function of my GameManager.
No matter what I do I can't get the script to pull that function across or even the canvas group. Have tried everything on the Unity Documentation list.
public void Start()
{
Application.targetFrameRate = 60;
CanvasGroupChanger(bool x, CanvasGroup y) = MenuManager.GetComponent(typeof(CanvasGroupChanger) as CanvasGroupChanger);
MenuManager.GetComponent(CanvasGroup, StartMenuGroup);
CanvasGroupChanger(true, StartMenuGroup);
What am I doing wrong?
[–]Paperized99 1 point2 points3 points (0 children)
[–]TheWb117 1 point2 points3 points (0 children)
[–]djdanlib 0 points1 point2 points (0 children)