Example #1
0
 public bool SetupShare()
 {
     registerInternalService(_share = GetShare());
     if (_share != null)
     {
         return(true);
     }
     return(false);
 }
Example #2
0
        public IPsdkShare GetShare()
        {
            if (!isPsdkValid())
            {
                return(null);
            }
            if (_share != null)
            {
                return(_share);
            }
            _share = GettingServiceByReflection <IPsdkShare> ("PsdkShareService");
            if (_share != null)
            {
                return(_share);
            }
            if (!_silent)
            {
                Debug.Log("Could not initiate PsdkShare !");
            }

            return(null);
        }
 public void Init()
 {
     Debug.Log("ShareService : Init");
     _psdkShare = PSDKMgr.Instance.GetShare();
 }