Skip to content

Flori VR

Jack Thias edited this page Nov 24, 2017 · 3 revisions

Flori VR

API Reference for the currently-in-development Flori VR version.

Migrated Scripts

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 to public static int Balance
    • public static int GetBalance() - return public static int Balance
  • DJOsvaldo
    • public static void PlayClipAt(string name, float level = 0.35f) - play audio file if name is in public static dictionary Beats
  • Flower
    • public bool CanBePicked() - returns member variable canBePicked
    • public void SetCanBePicked(bool maybe) - set member variable canBePicked
    • public void Pick() - set flower parent to specified transform, scale flower to appropriate size, add a Holdable component and make player hold the flower (fixed joint)
Clone this wiki locally