Show / Hide Table of Contents

Class Flings

Used for creating "Flings" that will scatter particle objects in random directions

Inheritance
object
Flings
Namespace: WeaverCore
Assembly: WeaverCore.dll
Syntax
public static class Flings

Methods

| Edit this page View Source

CreateNormalFlings()

Creates some fling particles that are used as the hit effects for normal enemies

Declaration
public static FlingInfo[] CreateNormalFlings()
Returns
Type Description
FlingInfo[]

Returns the fling info needed to spawn the flings

| Edit this page View Source

SpawnFlings(FlingInfo, Vector3)

Spawns the flings

Declaration
public static GameObject[] SpawnFlings(FlingInfo fling, Vector3 spawnPoint)
Parameters
Type Name Description
FlingInfo fling

The flings to spawn

Vector3 spawnPoint

The spawn point where the fling effects will originate from

Returns
Type Description
GameObject[]

Returns the fling objects that have been created

| Edit this page View Source

SpawnFlings(FlingInfo, Vector3, CardinalDirection)

Spawns the flings

Declaration
public static GameObject[] SpawnFlings(FlingInfo fling, Vector3 spawnPoint, CardinalDirection direction)
Parameters
Type Name Description
FlingInfo fling

The flings to spawn

Vector3 spawnPoint

The spawn point where the fling effects will originate from

CardinalDirection direction

The direction the flings should travel in

Returns
Type Description
GameObject[]

Returns the fling objects that have been created

| Edit this page View Source

SpawnFlings(FlingInfo[], Vector3)

Spawns the flings

Declaration
public static void SpawnFlings(FlingInfo[] flings, Vector3 spawnPoint)
Parameters
Type Name Description
FlingInfo[] flings

The flings to spawn

Vector3 spawnPoint

The spawn point where the fling effects will originate from

| Edit this page View Source

SpawnFlings(FlingInfo[], Vector3, CardinalDirection)

Spawns the flings

Declaration
public static void SpawnFlings(FlingInfo[] flings, Vector3 spawnPoint, CardinalDirection direction)
Parameters
Type Name Description
FlingInfo[] flings

The flings to spawn

Vector3 spawnPoint

The spawn point where the fling effects will originate from

CardinalDirection direction

The direction the flings should travel in

  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾