Skip to content

Instantly share code, notes, and snippets.

Last active April 16, 2018 07:54
What would you like to do?
void Start(){
// オフセットを計算する
offset = gameObject.transform.position - player.transform.position;
// 参照を取得
zoomSlider = sliderObject.GetComponent<Slider>();
zoomText = zoomTextObject.GetComponent<Text>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment