示例#1
0
 public bool SetupShare()
 {
     registerInternalService(_share = GetShare());
     if (_share != null)
     {
         return(true);
     }
     return(false);
 }
示例#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);
        }
示例#3
0
 public void Init()
 {
     Debug.Log("ShareService : Init");
     _psdkShare = PSDKMgr.Instance.GetShare();
 }