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 Layouttest : MonoBehaviour | |
{ | |
private float sliderValue = 1.0f; | |
private float maxSliderValue = 10.0f; | |
private float spaceSize; // |
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 Opacity : MonoBehaviour | |
{ | |
bool sight; | |
Color color; | |
float red, green, blue, alpha; //RGBを操作するための変数 |
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 UnityEngine.Playables; | |
using System; | |
using UnityEngine.UI; //UIを使用 | |
// A behaviour that is attached to a playable | |
public class FadeInPlayableBehaviour : PlayableBehaviour |
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 UnityEngine.Playables; | |
using UnityEngine.UI; | |
[System.Serializable] | |
public class FadeInPlayableAsset : PlayableAsset | |
{ |
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; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
using System.Media; |
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 RotateFloor : MonoBehaviour | |
{ | |
// Use this for initialization | |
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 System.Collections.Generic; | |
using UnityEngine; | |
using System; | |
class Trapcol : MonoBehaviour | |
{ | |
public ChaCon2 CC; //”ChaCon2”スクリプトがアタッチされたPlayerをインスペクター上で格納 | |
OnTriggerEnter(Collider collider) | |
{//トラップタグをもつオブジェクトへ当たった時 |
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
Shader "Custom/HideObject1" { | |
SubShader{ | |
Tags { "RenderType" = "Opaque" "Queue" = "Geometry-1"} | |
Pass{ | |
ColorMask 0 //描写しない | |
CGPROGRAM | |
#pragma vertex vert |
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 BrendTreeTest : MonoBehaviour { | |
public float speed = 5; //playerのスピード | |
private Rigidbody rb; |
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; | |
using System.Collections; | |
public class BlueToothCon2 : MonoBehaviour | |
{ | |
private Animator anim; | |
private CharacterController characterController; | |
private Vector3 velocity; | |
private float jumpPower = 5f; |
NewerOlder