using System.Collections;

using System.Collections.Generic;

using UnityEngine;


public class notdestroy : MonoBehaviour {


// Use this for initialization

void Start () {

}

// Update is called once per frame

void Update () {

}


ย  ย  void awake ()

ย  ย  {


ย  ย  ย  ย  DontDestroyOnLoad(this.gameObject);


ย  ย  }

}


์ด๋ ‡๊ฒŒ ํ•ด๋†“์œผ๋ฉด ์‚ญ์ œ์•ˆ๋˜์–ด์•ผ ํ•˜๋Š” ๊ฑฐ ์•„๋‹˜?
์™œ ์ž‘๋™์ด ์•ˆ๋˜์ง€