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 CreateRayTarget : MonoBehaviour | |
{ | |
[SerializeField] | |
private float distance = 20.0f; | |
[SerializeField] | |
private GameObject clone; |
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 CreateRayPoint : MonoBehaviour | |
{ | |
[SerializeField] | |
private float distance = 20.0f; | |
[SerializeField] | |
private GameObject clone; |
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 VerticalOnlyCamera : MonoBehaviour | |
{ | |
// This Camera move only verticle. | |
// So camera transform in player children. | |
// このカメラは縦の視点移動のみです。利用する場合はこのクラスをアタッチするカメラをプレイヤーの子にしてください。 |
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 PinSystemOverlay : MonoBehaviour | |
{ | |
private Camera targetCamera; // 映っているか判定するカメラへの参照 | |
private Transform canvas; | |
[SerializeField] |
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.UI; | |
public class CreatePinPoint : MonoBehaviour | |
{ | |
[SerializeField] | |
private float distance = 20.0f; |
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 FireController : MonoBehaviour | |
{ | |
AnimatorStateInfo state; | |
Animator animator; | |
public GameObject fireEffect; |
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 CameraControllerv2 : MonoBehaviour | |
{ | |
[SerializeField] | |
private Transform player; | |
private Vector3 offset; |
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.EventSystems; | |
using UnityEngine.UI; | |
public class ControllerUI : MonoBehaviour,IBeginDragHandler,IDragHandler,IEndDragHandler | |
{ | |
[SerializeField]//基礎スピード |
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 UnityEngine.EventSystems; | |
public class ControllerUI : MonoBehaviour,IBeginDragHandler,IDragHandler,IEndDragHandler | |
{ | |
public void OnBeginDrag(PointerEventData eventData){ |
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 UnityEngine.EventSystems; | |
public class ControllerUI : MonoBehaviour,IBeginDragHandler,IDragHandler,IEndDragHandler{ | |
[SerializeField] | |
float speed = 3f; | |
//歩行時=1,走行時=2 | |
float pulusSpeed=1; |
NewerOlder