r2mods/ilspy_dump/ror2_csproj/PrimeDevastatorProjectileCo...

22 lines
449 B
C#
Raw Normal View History

2024-10-04 07:26:37 +00:00
using RoR2.Projectile;
using UnityEngine;
public class PrimeDevastatorProjectileController : MonoBehaviour
{
public ProjectileOwnerOrbiter orbiter;
public float expansionSpeed = 1f;
private float orbitExpansionTimer;
private void Start()
{
}
private void Update()
{
ProjectileOwnerOrbiter projectileOwnerOrbiter = orbiter;
projectileOwnerOrbiter.Networkradius = projectileOwnerOrbiter.radius + Time.deltaTime * expansionSpeed;
}
}