Diff
checker
テキスト
テキスト
画像
ドキュメント
Excel
フォルダ
Legal
Enterprise
デスクトップ
料金
ログイン
Diffchecker デスクトップのダウンロード
テキスト比較
2 つのテキスト ファイルの違いを見つける
ツール
履歴
ライブエディター
未変更行を折りたたむ
折り返しなし
レイアウト
分割
統合
比較精度
スマート
単語
文字
シンタックスハイライト
構文を選択
無視
テキスト変換
最初の差分へ移動
入力を編集
Diffchecker Desktop
Diffcheckerを実行する最も安全な方法。Diffchecker Desktopアプリを入手:あなたの差分はコンピューターから出ることはありません!
Desktopを入手
Untitled diff
作成日
7 年前
差分は期限切れになりません
クリア
エクスポート
共有
説明
5 削除
行
合計
削除
文字
合計
削除
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
33 行
すべてコピー
5 追加
行
合計
追加
文字
合計
追加
この機能を引き続き使用するには、アップグレードしてください
Diff
checker
Pro
価格を見る
34 行
すべてコピー
using System.Collections;
using System.Collections;
using System.Collections.Generic;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine;
using KinematicCharacterController;
using KinematicCharacterController;
using KinematicCharacterController.Examples;
using KinematicCharacterController.Examples;
コピー
コピー済み
コピー
コピー済み
namespace
Kinematic
CharacterController
.Walkthrough.WallJumping
namespace
Lez
CharacterController
{
{
コピー
コピー済み
コピー
コピー済み
public class
MyPlayer
: MonoBehaviour
public class
KinematicCharacterInput
: MonoBehaviour
{
{
コピー
コピー済み
コピー
コピー済み
public
MyCharacterController
Character;
public
KinematicCharacter
Character;
private const string HorizontalInput = "Horizontal";
private const string HorizontalInput = "Horizontal";
private const string JumpInput = "Jump";
private const string JumpInput = "Jump";
private void Update()
private void Update()
{
{
HandleCharacterInput();
HandleCharacterInput();
}
}
private void HandleCharacterInput()
private void HandleCharacterInput()
{
{
PlayerCharacterInputs characterInputs = new PlayerCharacterInputs();
PlayerCharacterInputs characterInputs = new PlayerCharacterInputs();
// Build the CharacterInputs struct
// Build the CharacterInputs struct
characterInputs.horizontal = Input.GetAxisRaw(HorizontalInput);
characterInputs.horizontal = Input.GetAxisRaw(HorizontalInput);
characterInputs.JumpDown = Input.GetButtonDown(JumpInput);
characterInputs.JumpDown = Input.GetButtonDown(JumpInput);
// Apply inputs to character
// Apply inputs to character
Character.SetInputs(ref characterInputs);
Character.SetInputs(ref characterInputs);
}
}
}
}
}
}
保存された差分
原文
ファイルを開く
using System.Collections; using System.Collections.Generic; using UnityEngine; using KinematicCharacterController; using KinematicCharacterController.Examples; namespace KinematicCharacterController.Walkthrough.WallJumping { public class MyPlayer : MonoBehaviour { public MyCharacterController Character; private const string HorizontalInput = "Horizontal"; private const string JumpInput = "Jump"; private void Update() { HandleCharacterInput(); } private void HandleCharacterInput() { PlayerCharacterInputs characterInputs = new PlayerCharacterInputs(); // Build the CharacterInputs struct characterInputs.horizontal = Input.GetAxisRaw(HorizontalInput); characterInputs.JumpDown = Input.GetButtonDown(JumpInput); // Apply inputs to character Character.SetInputs(ref characterInputs); } } }
変更されたテキスト
ファイルを開く
using System.Collections; using System.Collections.Generic; using UnityEngine; using KinematicCharacterController; using KinematicCharacterController.Examples; namespace LezCharacterController { public class KinematicCharacterInput : MonoBehaviour { public KinematicCharacter Character; private const string HorizontalInput = "Horizontal"; private const string JumpInput = "Jump"; private void Update() { HandleCharacterInput(); } private void HandleCharacterInput() { PlayerCharacterInputs characterInputs = new PlayerCharacterInputs(); // Build the CharacterInputs struct characterInputs.horizontal = Input.GetAxisRaw(HorizontalInput); characterInputs.JumpDown = Input.GetButtonDown(JumpInput); // Apply inputs to character Character.SetInputs(ref characterInputs); } } }
違いを見つける