Exemple #1
0
 // Start is called before the first frame update
 void Start()
 {
     thePlayer = FindObjectOfType <PlayerManager>(); //다수의 객체
     theCamera = FindObjectOfType <CameraManager>();
     theOrder  = FindObjectOfType <OrderManager2>();
     theFade   = FindObjectOfType <FadeManager>();
 }
Exemple #2
0
 // Use this for initialization
 void Start()
 {
     theOrder      = FindObjectOfType <OrderManager2>();
     theAudio      = FindObjectOfType <AudioManager>();
     thePlayerStat = FindObjectOfType <PlayerStat>();
     theOOC        = FindObjectOfType <OkOrCancel>();
     theInven      = FindObjectOfType <Inventory>();
 }
Exemple #3
0
 // Use this for initialization
 void Start()
 {
     count               = 0;
     text.text           = "";
     listSentences       = new List <string>();
     listSprites         = new List <Sprite>();
     listDialogueWindows = new List <Sprite>();
     theOrder            = FindObjectOfType <OrderManager2>();
 }
Exemple #4
0
    // Use this for initialization
    void Start()
    {
        instance    = this;
        theAudio    = FindObjectOfType <AudioManager>();
        theOrder    = FindObjectOfType <OrderManager2>();
        theDatabase = FindObjectOfType <DatabaseManager>();
        theOOC      = FindObjectOfType <OkOrCancel>();
        theEquip    = FindObjectOfType <Equipment>();

        inventoryItemList = new List <Item>();
        inventoryTabList  = new List <Item>();
        slots             = tf.GetComponentsInChildren <InventorySlot>();
    }
Exemple #5
0
 // Start is called before the first frame update
 void Start()
 {
     theOrder  = FindObjectOfType <OrderManager2>();
     theChoice = FindObjectOfType <ChoiceManager>();
 }
Exemple #6
0
 // Start is called before the first frame update
 void Start()
 {
     theOrder = FindObjectOfType <OrderManager2>();
 }
Exemple #7
0
 // Start is called before the first frame update
 void Start()
 {
     theOrder  = FindObjectOfType <OrderManager2>();
     theNumber = FindObjectOfType <NumberSystem>();
 }
Exemple #8
0
 // Start is called before the first frame update
 void Start()
 {
     theOrder = FindObjectOfType <OrderManager2>();
     theDM    = FindObjectOfType <DialogueManager>();
 }