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; | |
//UI使うのに必要 | |
using UnityEngine.UI; | |
//DOTween使うのに必要 | |
using DG.Tweening; | |
public class ScreenScale : MonoBehaviour | |
{ |
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; | |
//UI使うのに必要 | |
using UnityEngine.UI; | |
//DOTween使うのに必要 | |
using DG.Tweening; | |
public class Screen : MonoBehaviour | |
{ |
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; | |
//CharacterControllerを入れる | |
[RequireComponent(typeof(CharacterController))] | |
public class FirstPerson : MonoBehaviour | |
{ | |
private float speed; | |
//落ちる速さ、重力 |
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; | |
//CharacterControllerを入れる | |
[RequireComponent(typeof(CharacterController))] | |
public class LongJump : MonoBehaviour | |
{ | |
//CharacterControllerを変数にする | |
CharacterController controller; |
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 SavePos : MonoBehaviour | |
{ | |
ES3Settings settings; | |
GameObject player; | |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
//UI使うときに必要 | |
using UnityEngine.UI; | |
public class Choice : MonoBehaviour | |
{ | |
Button button; |
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; | |
//CharacterControllerを入れる | |
[RequireComponent(typeof(CharacterController))] | |
public class FirstPerson : MonoBehaviour | |
{ | |
private float speed; |
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 lensFlare : MonoBehaviour { | |
LensFlare lf; | |
public GameObject player; | |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class UseSword : MonoBehaviour { | |
Animation anim; | |
CapsuleCollider capsule; | |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
//CharacterControllerを入れる | |
[RequireComponent(typeof(CharacterController))] | |
public class FirstPerson : MonoBehaviour { | |
private float speed; |