Пример #1
0
 public new static TransparentOverlayFactory INSTANCE()
 {
     if (wf == null)
     {
         wf = new TransparentOverlayFactory();
     }
     return(wf);
 }
Пример #2
0
        public static OverlayFactory INSTANCE()
        {
            if (wf == null)
            {
#if !UNITY_EDITOR   // You really don't want to enable this in the editor..
                wf = TransparentOverlayFactory.INSTANCE();
#else
                wf = new OverlayFactory();
#endif
            }
            return(wf);
        }