-
Notifications
You must be signed in to change notification settings - Fork 1
MerdControls
This component includes four scripts.
A bridge script between a slider and a FishSystem GameObject. Enables controlling feeding rate of FishSystem through slider input.
GameObject FishSystem: Which FishSystem you want to control with the given slider.
void Start
Gets defined FishSystems FishSystemScript, and stores it local var 'fishSystemScript'.
void OnSlideChanged(float position)
Sets feedingIntensity, foodGivenPerSec, and emission.ratOverTime values for fishSystemscript based on slider posisiton.
A helper class for BNG 3D Sliders. Enables snap-to slider steps.
int steps: How many steps / snap-points you wish the slider to have.
Axis(enum) axis: Which axis the slider runs along.
Note: Can only be set to main axies (X-Y-Z).
GameObject sliderPath: The object that defines the sliders path. The script takes the size of this object, coupled with given axis, to calculate the steps along the slider.
float offset: An arbitrary offset at each end of the slider path to limit the end and beginning of snap-point calculation. E.g.: to avoid collision with neighboring object.
void OnRelease
Summary:
An override of BNG.GrabbableEvents. Executes snap point behaviour on release of sliderknob.
void SetPosition (float axisPosition)
Summary:
Calculates closest snap point along given axis from param axisPosition. Then updates the position of slider knob to closest snap-point along axis.
Takes: float axisPositon: local position of slider-knob along axis.
float GetPosition
Summary:
Gets local position of the knob along given axis.
Returns:
float value equal to local position of knob along given axis.
The Unified Controls Prefab combines MerdButton as well as Slider prfabs into one unified control surface.
Combines BNG Button with Merdcamea switching.
Implements SlideBridge and SlideHelper Scripts on what amounts to a carbon copy of BNG Slide prefab.
Authors:
Trym Lund Flogard
Emil Aron Andresen Mathiesen
Tor Jacob Neple
Quynh-Lan Nguyen Pham
Markus Aleksander Råkil Johansen
Jon Pape Hallem
Herman Sætre
Mikkel Emil Lange Friis
Peter Olai Johnsen
The reception scene is the first scene the player will find themselves in after the application has started. It serves as a central hub between the different work place scenarios.
The fish laboratory is a subsystem of blue-sector, which runs a simulation of tasks related to analysing the health of the salmon population in a fish farm.
The fish factory is a subsystem of blue-sector, which runs a simulation of several tasks at a farmed Atlantic salmon processing facility.
Fish feeding is a subsystem of blue-sector, which runs a simulation of feeding salmon in a fish farming facility.
This section is related to the improvements to the NPC AI functionality and the connecting system that it now works with.