Exemplo n.º 1
0
    public virtual void Start()
    {
        toast_txt.enabled  = false;
        toast_back.enabled = false;

        panellaoder = GetComponent <UserpanelLoader>();

        Firebase.FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task => {
            dependencyStatus = task.Result;
            if (dependencyStatus == Firebase.DependencyStatus.Available)
            {
                InitializeFirebase();
            }
            else
            {
                Debug.LogError(
                    "Could not resolve all Firebase dependencies: " + dependencyStatus);
            }
        });
    }
Exemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     sqrShaekDtectionThreshold = Mathf.Pow(ShaekDtectionThreshold, 2);
     panellaoder = GetComponent <UserpanelLoader>();
 }