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); }
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); }
public void init() { if (paths.Count != 0) { Invoke("EnableTracingHand", 0.2f); ShowPathNumbers(0); } popOut = gameObject.AddComponent <UIPopInOut>(); popOut.PopIn(); Analytics.Instance.TrackScene(FirebaseCustomSceneNames.DrawLetterScene); }