This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEngine.UI; | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| public class Manager : MonoBehaviour { | |
| public NetworkData networkData; | |
| void Start () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using System.Collections; | |
| using System.IO; | |
| public class Temp : MonoBehaviour { | |
| void Start () { | |
| StartCoroutine (this.TakeScreenShot ()); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // AssetStore's parse asset doesn't work. | |
| // SDK page sample project works. | |
| using UnityEngine; | |
| using System.Collections; | |
| using Parse; | |
| public class ParseTest : MonoBehaviour { | |
| public void OnClickSend(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 結果 | |
| [System.Serializable] | |
| public class Result{ | |
| public GameObject successPanel; | |
| public GameObject failPanel; | |
| } | |
| public Result result; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Applications/Unity/Unity.app/Contents/Resources/ScriptTemplates |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using UnityEngine; | |
| using UnityEngine.UI; | |
| using System.Collections; | |
| using DG.Tweening; | |
| using System.Collections.Generic; | |
| public class PuniconView : BaseVertexEffect { | |
| void Start () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (rigidbody) { | |
| rigidbody.isKinematic = true; | |
| rigidbody.velocity = velocity; | |
| rigidbody.useGravity = useGravity; | |
| rigidbody.isKinematic = false; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Dir.chdir("VR_Sequence") | |
| def ffmpeg(start_frame, end_frame) | |
| vframe = end_frame - start_frame - 1 | |
| direction = "ffmpeg -f image2 -r 60 -start_number #{start_frame} -i img%05d.png -vframes #{vframe} -r 60 -an -vcodec libx264 -y -pix_fmt yuv420p #{start_frame}-#{end_frame}.mp4" | |
| p direction | |
| system(direction) | |
| end | |
| startf = 4; endf = startf + 6000 - 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var animator = unityChan.GetComponent<Animator> (); | |
| animator.speed = 10.0f; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var animator = unityChan.GetComponent<Animator> (); | |
| animator.SetTime (animationTime); |