예제 #1
0
    private void Start()
    {
        persistentData = dataManager.GetCurrentData();
        //endingCode = (persistentData.currentStamina >= PersistentData.SAVE_NUM) ? 1 : 0;
        animator = GetComponent <Animator>();

        StartCutscene();
    }
예제 #2
0
    //private bool promptsVisible = true;

    void Start()
    {
        bc           = GetComponent <BoxCollider2D>();
        touchPlayer  = false;
        currentState = 0;
        fixTimeFull  = fixTime;

        //button = gameObject.transform.GetChild(0);
        choicePrompt.transform.localScale = new Vector3(0, 0, 1);

        //help = gameObject.transform.GetChild(1);
        helpOffset = helpBubble.transform.localPosition;

        cm             = GameObject.Find("Player").GetComponent <CharacterMovement>();
        player         = GameObject.Find("Player");
        persistentData = dataManager.GetCurrentData();
    }
예제 #3
0
 private void Start()
 {
     persistentData = dataManager.GetCurrentData();
 }
예제 #4
0
 private void Start()
 {
     DontDestroyOnLoad(gameObject);
     persistentData = persistentManager.GetCurrentData();
 }
예제 #5
0
 private void Start()
 {
     persistentData = dataManager.GetCurrentData();
     textScrapSize  = GetComponent <TextMeshProUGUI>();
 }