Skip to content

Instantly share code, notes, and snippets.

@bibinba
bibinba / はてなブログデザインCSS
Last active May 23, 2020 04:06
はてなブログデザインCSS
/* <system section="theme" selected="afternoon"> */
@import "/css/theme/afternoon/afternoon.css";
/* </system> */
/* <system section="background" selected="illust-01"> */
body{ background-image: url('/images/theme/backgrounds/2014/illust-01.png'); background-repeat: repeat; background-attachment: scroll; background-position: 0 0; }
/* </system> */
/* PCのみトップページカード型 */
@bibinba
bibinba / GamaManager.cs
Created May 3, 2020 05:29
Unity1Week:お題「蜜」で使ったスクリプト。rayが当たったら特定のタグのものが消えてポイント加算
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
using UnityEngine.UI;
public class GamaManager : MonoBehaviour
{
public List<GameObject> Flower = new List<GameObject>();
private RaycastHit hit;
@bibinba
bibinba / getkey.cs
Last active October 19, 2019 11:51
【unity1week】Fungusを使って会話!【お題:さがす】に使ったスクリプト
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Fungus;
public class getkey : MonoBehaviour
{
public Camera camera_object; //カメラを取得
private RaycastHit hit; //レイキャストが当たったものを取得する入れ物
private bool isTalking = false;
@bibinba
bibinba / game_manager.cs
Last active July 10, 2019 06:20
uniRxを使ったトマト集めゲームのスクリプト(http://bibinbaleo.hatenablog.com/entry/2019/07/03/212152
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using UniRx;
using System;
using UnityEngine.SceneManagement;
using UniRx.Triggers;
public class game_manager : MonoBehaviour
@bibinba
bibinba / fontmaker.cs
Created June 16, 2019 13:41
FlyingFontで入力した文字を出す
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class fontmaker : MonoBehaviour
{
public InputField inputfield;
public Material material;
public Material edgeMaterial;
@bibinba
bibinba / touch.cs
Created June 9, 2019 06:51
タッチしたらスプライトの色が変わる
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using System;
public class touch : MonoBehaviour
{
public Image image;
[SerializeField]
Color btnColor1 = Color.red;

このアプリケーションは、個人情報を収集したり公開しません。
This application does not collect or publish any personal information.

@bibinba
bibinba / jojo.cs
Created February 23, 2019 08:22
ジョジョの音声認識でソフト&ウェットとザ・ワールド
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Text;
using UnityEngine.Windows.Speech;
using UnityEngine.PostProcessing;
public class oyako : MonoBehaviour
{
@bibinba
bibinba / vrmimport.cs
Created January 22, 2019 13:05
アニメーションを付けるバージョンVRM
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Windows.Forms;
using VRM;
public class vrmimport : MonoBehaviour
{
@bibinba
bibinba / vrmimport.cs
Created December 2, 2018 11:04
VRMを選択してインポートする
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using System.Windows.Forms;
public class vrmimport : MonoBehaviour
{