|
|
|
@ -25,7 +25,9 @@ public class movieController : MonoBehaviour |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
GetComponent<RawImage>().enabled = true; |
|
|
|
GetComponent<RawImage>().enabled = true; |
|
|
|
|
|
|
|
//Debug.Log(stat); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (tuio_event.tuio_input.touchCount > 0) |
|
|
|
if (tuio_event.tuio_input.touchCount > 0) |
|
|
|
{ |
|
|
|
{ |
|
|
|
transform.gameObject.SetActive(true); |
|
|
|
transform.gameObject.SetActive(true); |
|
|
|
@ -57,4 +59,16 @@ public class movieController : MonoBehaviour |
|
|
|
transform.localScale = new Vector3(scale, scale, 1); |
|
|
|
transform.localScale = new Vector3(scale, scale, 1); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void OnEnable() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
//doScaling(1); |
|
|
|
|
|
|
|
Debug.Log("Hi"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private void OnDestroy() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
//doScaling(0); |
|
|
|
|
|
|
|
Debug.Log("Bye"); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|