mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-03-12 22:14:37 +00:00
cleanup
This commit is contained in:
parent
826029460a
commit
8c1a79b9be
@ -1,14 +1,9 @@
|
||||
using QSB.Player;
|
||||
using QSB.Utility;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using UnityEngine;
|
||||
|
||||
namespace QSB.RoastingSync
|
||||
{
|
||||
class CustomRelativisticParticleSystem : MonoBehaviour
|
||||
internal class CustomRelativisticParticleSystem : MonoBehaviour
|
||||
{
|
||||
private ParticleSystem _particleSystem;
|
||||
private Transform _simulationSpace;
|
||||
@ -53,8 +48,8 @@ namespace QSB.RoastingSync
|
||||
}
|
||||
_simulationSpace.rotation = _rotation;
|
||||
|
||||
if (!_velocityOverLifetimeModule.enabled
|
||||
&& (!_limitVelocityOverLifetimeModule.enabled || !_limitVelocityOverLifetimeModule.separateAxes)
|
||||
if (!_velocityOverLifetimeModule.enabled
|
||||
&& (!_limitVelocityOverLifetimeModule.enabled || !_limitVelocityOverLifetimeModule.separateAxes)
|
||||
&& !_forceOverLifetimeModule.enabled)
|
||||
{
|
||||
return;
|
||||
|
@ -15,7 +15,7 @@ namespace QSB.TransformSync
|
||||
private Vector3 _positionSmoothVelocity;
|
||||
private Quaternion _rotationSmoothVelocity;
|
||||
|
||||
private Transform GetPivot()
|
||||
private Transform GetPivot()
|
||||
=> Resources.FindObjectsOfTypeAll<RoastingStickController>().First().transform.Find("Stick_Root/Stick_Pivot");
|
||||
|
||||
protected override Transform InitLocalTransform()
|
||||
|
Loading…
x
Reference in New Issue
Block a user