This file contains 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
// [Unity3D]2点を通る垂直なオブジェクトを生成する | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class wallSet : MonoBehaviour { | |
public Vector3[] point = new Vector3[] {}; | |
void Start () { |
This file contains 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
焼肉VRのアイデアを適当に並べておく | |
ジャンル:シミュレーションゲーム | |
プレイ人数:1 | |
概要:制限時間内に焼肉焼いて食ってスコアを稼ごう。 | |
大体の流れ: | |
1.肉を注文する | |
2.お皿に乗った肉が出て来る | |
3.お肉を網に乗せる | |
4.裏が焼けるまで待つ | |
5.ひっくり返す |
This file contains 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
// ぴにゃタワーVRの判定用スクリプト | |
// OnTriggerでpinyaのタグついたオブジェクトをカウント | |
// [未実装]掴んでいるオブジェクトは含まないようにする。 | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class GameManager : MonoBehaviour { | |
bool isFailed = false; // Pinya got out → true |
This file contains 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 System; // DateTimeに必要 | |
using System.Collections; | |
using UnityEngine; | |
public class clockController : MonoBehaviour { | |
public bool sec; // 秒針の有無 | |
public bool secTick; // 秒針を秒ごとに動かすか | |
public GameObject hour; |
This file contains 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; | |
public class MouseMover : MonoBehaviour { | |
public float speed; // 大きい程早く動く | |
private GameObject obj; | |
private Rigidbody2D rb; | |
void Start () |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class TileController : MonoBehaviour { | |
public GameObject tilePrefab; | |
public GameObject[,] tile; | |
private int tileX,tileY; |
This file contains 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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using VRTK.Highlighters; //usingは忘れがちなので忘れずに | |
public class SetOutline : MonoBehaviour { | |
VRTK_OutlineObjectCopyHighlighter vrtk_outline; | |
void Start () |
This file contains 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; | |
public class LookChange : MonoBehaviour { | |
private bool fMaterial = false; | |
[SerializeField] | |
private Material mat01; | |
[SerializeField] | |
private Material mat02; |
This file contains 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
$ sudo apt install g++ |
OlderNewer