Exemplo n.º 1
0
 void Awake()
 {
     if (prefabCup == null)
     {
         throw new Exception("請輸入prefabCup參數!");
     }
     if (prefabBlob == null)
     {
         throw new Exception("請輸入prefabBlob參數!");
     }
     if (transformCup == null)
     {
         throw new Exception("請輸入transformCup參數!");
     }
     if (transformInput == null)
     {
         throw new Exception("請輸入transformInput參數!");
     }
     blobRigidLayer  = GetComponentInChildren <BlobRigid>();
     blobEffectLayer = GetComponentInChildren <BlobParams>();
 }
 public Task <Blob> GetBlob(BlobParams plParams)
 {
     return(_companyEngine.GetBlobAsync(plParams));
 }