Inheritance: MonoBehaviour
Ejemplo n.º 1
0
 public void OnPointerClick(PointerEventData eventData)
 {
     image.enabled = text.enabled = false;
     BearScript.RevivePlayer();
 }
Ejemplo n.º 2
0
    bool isShaked;                  //폰을 흔들었는지 아닌지

    // Start is called before the first frame update
    void Start()
    {
        isShaked   = false;
        movePos    = bearObject.transform.position;
        bearScript = bearObject.GetComponent <BearScript>();
    }