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; | |
//Внезапно хауди списывая код с уроков забыл послушать что он означал | |
//В конечном итоге у него получился просто постоянный скейлинг гравитации | |
[RequireComponent(typeof(Rigidbody))] | |
class GravityScale : MonoBehaviour | |
{ | |
[SerializeField] private float _scale = 10f; | |
private Rigidbody _self; |
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 System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace OOP6._2 | |
{ | |
class Program | |
{ |
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 System.Linq; | |
using System.Text; | |
namespace _12_Builder | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
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
class Scenario | |
{ | |
private string[] _pages; | |
public Scenario(string[] pages) | |
{ | |
_pages = pages; | |
} | |
public void Show(int delayPerPage) |
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
class Player | |
{ | |
public string Name { get; private set; } | |
public float WeaponCooldown { get; private set; } | |
public float MovementDirectionX { get; private set; } | |
public float MovementDirectionY { get; private set; } | |
public int Age { get; private set; } | |
public int WeaponDamage { get; private set; } | |
public float MovementSpeed { get; private set; } |
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
class Bag | |
{ | |
public List<Item> Items; | |
public int MaxWeidth; | |
public void AddItem(string name, int count) | |
{ | |
int currentWeidth = Items.Sum(item => item.Count); | |
Item targetItem = Items.FirstOrDefault(item => item.Name == name); |
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; | |
namespace Task | |
{ | |
class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
int obj1x = 5; |
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 System.IO; | |
using System.Linq; | |
using System.Reflection; | |
using System.Runtime.Serialization.Formatters.Binary; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace DmitryCherstvyi |
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; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class PhysicsMovement : MonoBehaviour | |
{ | |
public float MinGroundNormalY = .65f; | |
public float GravityModifier = 1f; | |
public Vector2 Velocity; |
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 System.Linq; | |
namespace IMJunior | |
{ | |
class Program | |
{ | |
static void Main(string[] args) |
NewerOlder