示例#1
0
 private void SetUpBillBoard()
 {
     if (this.digimon != null && this.farmCamera != null && base.gameObject.activeSelf && !this.isSetUpBillBoard)
     {
         CharacterParams component  = this.digimon.GetComponent <CharacterParams>();
         bool            activeSelf = component.gameObject.activeSelf;
         component.gameObject.SetActive(true);
         component.SetBillBoardCamera(this.farmCamera);
         component.gameObject.SetActive(activeSelf);
         this.isSetUpBillBoard = true;
     }
 }