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; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Purchasing; | |
| using UnityEngine.UI; | |
| using System.IO; | |
| public class PurchaseManager : MonoBehaviour, IStoreListener | |
| { | |
| private static IStoreController m_StoreController; | |
| private static IExtensionProvider m_StoreExtensionProvider; |
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 Movement : MonoBehaviour | |
| { | |
| //Перемещение персонажем | |
| public float speed; | |
| Rigidbody2D m_Rigidbody; | |
| 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
| //https://youtu.be/whw0ksDJzi8 | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class lesson3 : MonoBehaviour | |
| { | |
| public GameObject target; | |
| void Update() |
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
| //https://youtu.be/c64sS3Xpvsk | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class lesson1 : MonoBehaviour | |
| { | |
| //public int speed; |
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
| //https://youtu.be/aA7AOgeRlfA | |
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class lesson2 : MonoBehaviour | |
| { | |
| //public int door = 0; | |
| void Update() |
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 GenMesh : MonoBehaviour | |
| { | |
| public Material material; | |
| void Start() | |
| { | |
| List<Vector3> vertices = new List<Vector3>(); |
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 Gen : MonoBehaviour | |
| { | |
| GameObject player; | |
| public GameObject block; | |
| public Vector3[] points = new Vector3[8]; | |
| 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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| public class Search : MonoBehaviour | |
| { | |
| public Collider btarget; | |
| IEnumerator Start() | |
| { | |
| while (true) |
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; | |
| [RequireComponent(typeof(MeshFilter))] | |
| [RequireComponent(typeof(MeshRenderer))] | |
| public class GenCube : MonoBehaviour | |
| { | |
| public Vector3 translation; | |
| public Vector3 eulerAngles; |
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; | |
| [RequireComponent(typeof(MeshFilter))] //Добавление компонентов | |
| [RequireComponent(typeof(MeshRenderer))] | |
| public class Mesh : MonoBehaviour | |
| { | |
| void Update() | |
| { |