-
Notifications
You must be signed in to change notification settings - Fork 1
Flori VR
Jack Thias edited this page Nov 24, 2017
·
3 revisions
API Reference for the currently-in-development Flori VR version.
These are scripts from Flori 3D and have been deemed the most likely to be used for Flori VR.
- Accountant
-
public static void AddCoin(string flowerName)
- look up flower worth from FlowerDictionary.cs, then add topublic static int Balance
-
public static int GetBalance()
- returnpublic static int Balance
-
- DJOsvaldo
-
public static void PlayClipAt(string name, float level = 0.35f)
- play audio file ifname
is inpublic static dictionary Beats
-
- Flower
-
public bool CanBePicked()
- returns member variablecanBePicked
-
public void SetCanBePicked(bool maybe)
- set member variablecanBePicked
-
public void Pick()
- set flower parent to specified transform, scale flower to appropriate size, add aHoldable
component and make player hold the flower (fixed joint)
-