Skip to content

Instantly share code, notes, and snippets.

Watanabe Toshimitsu tarob19

Block or report user

Report or block tarob19

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tarob19
tarob19 / WaterEffectShader.shader
Last active Nov 21, 2017
水っぽいシェーダ
View WaterEffectShader.shader
Shader "Unlit/WaterEffectShader"
{
Properties
{
_MainTex ("Texture", 2D) = "white" {}
_Color ("Color", Color) = (1,1,1,1)
_RimColor ("Rim Color", Color) = (0,0,0,0)
}
SubShader
{
@tarob19
tarob19 / StateTest.cs
Last active Mar 1, 2016
再生モードが切り替わるタイミングでモデルを再生成するWindow
View StateTest.cs
public class StateTest : EditorWindow
{
[MenuItem ("Window/Test")]
public static void Open ()
{
EditorWindow.GetWindow<StateTest> ("Test").Show ();
}
private bool _updated = false;
void OnEnable ()
{
@tarob19
tarob19 / RotateTest.cs
Last active Aug 29, 2015
Rotate sample component
View RotateTest.cs
using UnityEngine;
using System.Collections;
public class RotateTest : MonoBehaviour
{
public GameObject target;
public Vector3 additional;
Quaternion _rot;
Quaternion _initRot;
Vector3 _vec;
You can’t perform that action at this time.