Beispiel #1
0
    bool isObjectAllow(GameObject go)
    {
        string name = go.name.ToLower();

        if (name.Contains("background"))
        {
            return(false);
        }
        else
        {
            UIPopInOut p1 = go.GetComponent <UIPopInOut>();
            if (p1 != null)
            {
                return(false);
            }
            else
            {
                UIPopupPanel p2 = go.GetComponent <UIPopupPanel>();
                if (p2 != null)
                {
                    return(false);
                }
            }
        }
        return(true);
    }
Beispiel #2
0
    public void init()
    {
        if (paths.Count != 0)
        {
            Invoke("EnableTracingHand", 0.2f);
            ShowPathNumbers(0);
        }
        popOut = gameObject.AddComponent <UIPopInOut> ();
        popOut.PopIn();

        Analitics.Instance.treckScreen(AnaliticsCategory.TracingGame + " " + gameObject.name);
    }
Beispiel #3
0
    public void init()
    {
        if (paths.Count != 0)
        {
            Invoke("EnableTracingHand", 0.2f);
            ShowPathNumbers(0);
        }
        popOut = gameObject.AddComponent <UIPopInOut>();
        popOut.PopIn();

        Analytics.Instance.TrackScene(FirebaseCustomSceneNames.DrawLetterScene);
    }