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

22 lines
412 B
C#

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