Class PrefabThrower
A simple script that can be used to throw a prefab, normally a ball.
Namespace: Slicer.Demo
Assembly: 27Slicer.Demo.dll
Syntax
[AddComponentMenu("Slicer/Demo/Prefab Thrower")]
public class PrefabThrower : MonoBehaviour
Fields
Name | Description |
---|---|
PrefabToThrow | The prefab to throw |
Speed | The speed to throw the prefab at |