Example #1
0
 bool IsRefFruitCounter()
 {
     if (fruit_ == null)
     {
         fruit_ = player_.GetComponent <FruitCounter>();
     }
     return(fruit_ != null);
 }