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; |