Ejemplo n.º 1
0
    private void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }

        latestLevelPlayed = PlayerPersistence.GetIndexOfLastLevelPlayed();
    }
 void Awake()
 {
     Instance = this;
     gameObject.SetActive(false);
 }
Ejemplo n.º 3
0
	void Awake()
	{
		Instance = this;
		base.canvasGroup = GetComponent<CanvasGroup> ();
	}