This file contains hidden or 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 PlayerControl_MadeBySome : MonoBehaviour // コンポーネントに追加できるクラスとして PlayerControl_MadeBySome を設定 | |
| { | |
| // このスクリプトで使う変数一覧 | |
| private CharacterController charaCon; // キャラクターコンポーネント用の変数 | |
| private Animator animCon; // アニメーションするための変数 | |
| public float idoSpeed = 5.0f; // 移動速度(Public=インスペクタで調整可能) | |
| public float kaitenSpeed = 1200.0f; // プレイヤーの回転速度(Public=インスペクタで調整可能) | 
  
    
      This file contains hidden or 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
    
  
  
    
  | public void Hit() // ヒット時のアニメーションイベント(今のところからっぽ。ないとエラーが出る) | |
| { | |
| } | 
  
    
      This file contains hidden or 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 PlayerControl_MadeBySome : MonoBehaviour // コンポーネントに追加できるクラスとして PlayerControl_MadeBySome を設定 | |
| { | |
| // このスクリプトで使う変数一覧 | |
| private CharacterController charaCon; // キャラクターコンポーネント用の変数 | |
| private Animator animCon; // アニメーションするための変数 | |
| public float idoSpeed = 5.0f; // 移動速度(Public=インスペクタで調整可能) | |
| public float kaitenSpeed = 1200.0f; // プレイヤーの回転速度(Public=インスペクタで調整可能) | 
  
    
      This file contains hidden or 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 PlayerControl_MadeBySome : MonoBehaviour // コンポーネントに追加できるクラスとして PlayerControl_MadeBySome を設定 | |
| { | |
| // このスクリプトで使う変数一覧 | |
| private CharacterController charaCon; // キャラクターコンポーネント用の変数 | |
| private Animator animCon; // アニメーションするための変数 | |
| public float idoSpeed = 5.0f; // 移動速度(Public=インスペクタで調整可能) | |
| public float kaitenSpeed = 1200.0f; // プレイヤーの回転速度(Public=インスペクタで調整可能) | 
  
    
      This file contains hidden or 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 PlayerControl_MadeBySome : MonoBehaviour // コンポーネントに追加できるクラスとして PlayerControl_MadeBySome を設定 | |
| { | |
| // このスクリプトで使う変数一覧 | |
| private CharacterController charaCon; // キャラクターコンポーネント用の変数 | |
| private Animator animCon; // アニメーションするための変数 | |
| private Vector3 moveDirection = Vector3.zero; // 移動する方向とベクトルの変数(最初は初期化しておく) | 
  
    
      This file contains hidden or 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 PlayerControl_MadeBySome_0721 : MonoBehaviour // コンポーネントに追加できるクラスとして PlayerControl_MadeBySome を設定 | |
| { | |
| // このスクリプトで使う変数一覧 | |
| //private:インスペクタで調整可能な変数 | |
| private CharacterController charaCon; // キャラクターコンポーネント用の変数 | |
| private Animator animCon; // アニメーションするための変数 | 
  
    
      This file contains hidden or 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.SceneManagement;//シーンマネジメントを有効にする | |
| public class Title : MonoBehaviour { | |
| // Use this for initialization | |
| void Start () { | |
  
    
      This file contains hidden or 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
    
  
  
    
  | 0123456789 | |
| abcdefghijklmnopqrstuvwxyz | |
| ABCDEFGHIJKLMNOPQRSTUVWXYZ | |
| 、。!?ー…()「」『』【】+-×÷:;%’ | |
| ,.!?-()[]+-*/:;%' | |
| あいうえおかきくけこ | |
| さしすせそたちつてと | |
| なにぬねのはひふへほ | |
| まみむめもやゆよ | |
| らりるれろわをん | 
  
    
      This file contains hidden or 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 xxxxxxxx : MonoBehaviour { //xxxxにはスクリプト自体のファイル名が入る | |
| public int ScreenWidth; | |
| public int ScreenHeight; | |
| void Awake() | 
  
    
      This file contains hidden or 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 ItemScript : MonoBehaviour | |
| { | |
| //オブジェクトを毎フレームY軸を中心に5度ずつ回転させる | |
| void Update () | |
| { | |
| transform.Rotate(new Vector3(0, 5, 0)); |