hellbound/Assets/Sources/Feel/NiceVibrations/Demos/DemoAssets/BallDemo/Scripts/BallDemoManager.cs

22 lines
412 B
C#
Raw Normal View History

2021-11-26 11:16:25 +03:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace MoreMountains.NiceVibrations
{
public class BallDemoManager : DemoManager
{
[Header("Ball")]
public Vector2 Gravity = new Vector2(0, -30f);
protected virtual void Start()
{
Physics2D.gravity = Gravity;
}
}
}