Ravenscript Documentation

Contents:

  • Installation
  • Getting started
  • Debugging
  • Tutorials
  • API reference
    • Built-in functions
    • Behaviours
    • Ravenfield Types
    • Unity Types
      • AmbientMode
      • AnimationCurve
      • Animator
      • AnimatorCullingMode
      • AnimatorUpdateMode
      • AudioClip
      • AudioSource
      • AvatarIKGoal
      • AvatarIKHint
      • Bounds
      • BoxCollider
      • Button
      • Camera
      • Canvas
      • CanvasGroup
      • CapsuleCollider
      • Collider
      • CollisionDetectionMode
      • Color
      • ConfigurableJoint
      • Dropdown
        • Members
        • Events
        • Methods
        • Static members
        • Details
      • FogMode
      • Font
      • ForceMode
      • GameObject
      • Gradient
      • HumanBodyBones
      • Image
      • Input
      • InputField
      • Joint
      • KeyCode
      • LayoutRebuilder
      • Light
      • LineRenderer
      • Material
      • Mathf
      • Matrix4x4
      • Mesh
      • MeshRenderer
      • MonoBehaviour
      • ParticleSystem
      • Plane
      • PlayableDirector
      • PrimitiveType
      • Projector
      • Quaternion
      • Random
      • RawImage
      • Ray
      • RaycastHit
      • Rect
      • RectTransform
      • ReflectionProbe
      • RenderSettings
      • Renderer
      • Rigidbody
      • RigidbodyConstraints
      • RigidbodyInterpolation
      • RuntimeAnimatorController
      • Screen
      • ScrollRect
      • SendMessageOptions
      • ShadowCastingMode
      • SkinnedMeshRenderer
      • Slider
      • Space
      • SphereCollider
      • Sprite
      • Text
      • TextMeshPro
      • TextMeshProUGUI
      • Texture
      • Toggle
      • Transform
      • Vector2
      • Vector3
      • Vector4
      • VideoClip
      • VideoPlayer
      • VideoRenderMode
  • Community Resources
Ravenscript Documentation
  • API reference
  • Dropdown

Dropdown

More information can be found in the Unity API Reference

Members

Member

Description

alphaFadeSpeed

animator

captionImage

captionText

gameObject

image

interactable

itemImage

itemText

transform

value

Events

Event

Description

onPointerClick

onPointerDown

onPointerEnter

onPointerExit

onPointerUp

onValueChanged

Arguments: int value

Methods

Method

Description

AddOptions(options)

ClearOptions()

Hide()

IsActive()

IsDestroyed()

IsInteractable()

RefreshShownValue()

Select()

SetValueWithoutNotify(input)

Show()

ToString()

Static members

Member

Description

allSelectableCount

Details

class Dropdown
float alphaFadeSpeed
const Animator animator
Image captionImage
Text captionText
const GameObject gameObject
Image image
bool interactable
Image itemImage
Text itemText
const Transform transform
int value
const ScriptEvent onPointerClick

Callback Signature:

void callback(int button)
const ScriptEvent onPointerDown

Callback Signature:

void callback(int button)
const ScriptEvent onPointerEnter

Callback Signature:

void callback()
const ScriptEvent onPointerExit

Callback Signature:

void callback()
const ScriptEvent onPointerUp

Callback Signature:

void callback(int button)
const ScriptEvent onValueChanged

Callback Signature:

void callback()

Arguments: int value

void AddOptions(array<string> options)
void ClearOptions()
void Hide()
bool IsActive()
bool IsDestroyed()
bool IsInteractable()
void RefreshShownValue()
void Select()
void SetValueWithoutNotify(int input)
void Show()
string ToString()
static const int allSelectableCount
Previous Next

© Copyright 2024, SteelRaven7 AB.

Built with Sphinx using a theme provided by Read the Docs.