상속: MonoBehaviour
예제 #1
0
 // Use this for initialization
 void Start()
 {
     text          = GetComponent <Text>();
     exclamation   = FindObjectOfType <Exclamation>();
     activateRunes = FindObjectOfType <ActivateRunes>();
     rebirth       = FindObjectOfType <Rebirth>();
 }
예제 #2
0
 private void Start()
 {
     cavemanStartPos = transform.position;
     enabledCaveman  = GetComponent <EnabledCaveman>();
     rebirth         = FindObjectOfType <Rebirth>();
     health          = startHealth;
     runes           = FindObjectOfType <ActivateRunes>();
     sprite          = GetComponent <SpriteRenderer>();
     dw    = FindObjectOfType <DialogueWindow>();
     life  = FindObjectOfType <Life_Counter>();
     audio = GetComponent <AudioSource>();
 }
예제 #3
0
파일: DataRepository.cs 프로젝트: 0x5y/API
 public void AddRebirth(Rebirth rb)
 {
     db.Rebirths.Add(rb);
     Save();
 }
예제 #4
0
 protected BaseRebirth()
 {
     CharObj           = Main.Character;
     RebirthController = CharObj.rebirth;
 }