You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
CrowdControl/Assets/Feel/NiceVibrations/Demo/DemoAssets/BallDemo/Scripts/BallDemoManager.cs

22 lines
435 B
C#

3 months ago
// Copyright (c) Meta Platforms, Inc. and affiliates.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
namespace Lofelt.NiceVibrations
{
public class BallDemoManager : DemoManager
{
[Header("Ball")]
public Vector2 Gravity = new Vector2(0, -30f);
protected virtual void Start()
{
Physics2D.gravity = Gravity;
}
}
}