예제 #1
0
 void Awake()
 {
     MainCamera  = Camera.allCameras[0];
     TempCardGO  = GameObject.Find("TempCardGO");
     GameManager = FindObjectOfType <GameManagerScr>();
 }
예제 #2
0
 void Start()
 {
     instance = this;
     money    = 50;
     health   = 100;
 }