Ravenscript Documentation

Contents:

  • Installation
  • Getting started
  • Debugging
  • Tutorials
  • API reference
    • Built-in functions
    • Behaviours
    • Game mode callbacks
    • Actor
    • ActorManager
    • ActorSkin
    • AiActorController
    • Airplane
    • AnimationCurve
    • AnimationDrivenVehicle
    • Animator
    • AnimatorCullingMode
    • AnimatorUpdateMode
    • ArmorRating
    • AudioClip
    • AudioMixer
    • AudioSource
    • AvatarIKGoal
    • AvatarIKHint
    • Boat
    • Bounds
    • BoxCollider
    • Button
    • Camera
    • Canvas
    • CanvasGroup
    • CapsuleCollider
    • CapturePoint
    • Car
    • Collider
    • Color
    • ColorScheme
    • CurrentEvent
    • DamageInfo
    • DamageSourceType
    • DataContainer
    • Debug
    • Difficulty
    • Distance
    • Dropdown
      • Members
      • Events
      • Methods
      • Static members
      • Details
    • EffectUi
    • Effectiveness
    • Engine
    • ExplodingProjectile
    • ExplosionConfiguration
    • ExplosionInfo
    • FadeType
    • FollowupSpread
    • ForceMode
    • FormationType
    • GameEvents
    • GameManager
    • GameObject
    • Gradient
    • GrenadeProjectile
    • Helicopter
    • HitInfo
    • HumanBodyBones
    • Image
    • IngameDialog
    • Input
    • InputField
    • KeyBinds
    • KeyCode
    • Ladder
    • Light
    • LineRenderer
    • LoadoutPickStrategy
    • LoadoutSet
    • LoadoutType
    • Material
    • MathUtils
    • Mathf
    • Matrix4x4
    • MeanFilter
    • MeanFilterVector3
    • Mesh
    • MeshRenderer
    • MeshSkin
    • Minimap
    • MonoBehaviour
    • MountedStabilizedTurret
    • MountedWeapon
    • Mutator
    • Order
    • OrderType
    • Overlay
    • ParticleSystem
    • Pathfinding
    • PathfindingNode
    • PathfindingNodeType
    • Physics
    • Plane
    • PlayableDirector
    • Player
    • PlayerCamera
    • PlayerHud
    • PortraitGenerator
    • PrimitiveType
    • Projectile
    • Quaternion
    • Random
    • RawImage
    • Ray
    • RaycastHit
    • RaycastTarget
    • Rect
    • RectTransform
    • RenderSettings
    • Renderer
    • ResupplyCrate
    • Rigidbody
    • RigidbodyConstraints
    • RigidbodyProjectile
    • RocketProjectile
    • RuntimeAnimatorController
    • Screen
    • ScriptEvent
    • ScriptedBehaviour
    • ScrollRect
    • Seat
    • SeatCameraType
    • SendMessageOptions
    • SgmActorDiedArgs
    • SgmLoadoutAcceptedArgs
    • SgmModifyRulesArgs
    • SgmPointCapturedArgs
    • SgmSpawnActorsArgs
    • SkillLevel
    • SkinnedMeshRenderer
    • Slider
    • SoundBank
    • Space
    • SpawnPoint
    • SpawnUi
    • SphereCollider
    • Sprite
    • Squad
    • TargetSeekingMissileProjectile
    • Team
    • Text
    • TextMeshPro
    • TextMeshProUGUI
    • Texture
    • Time
    • Toggle
    • Transform
    • TurretSpawnType
    • TurretSpawner
    • Vector2
    • Vector3
    • Vector4
    • Vehicle
    • VehicleSpawnType
    • VehicleSpawner
    • VideoClip
    • VideoPlayer
    • VideoRenderMode
    • WaitForSeconds
    • Water
    • Weapon
    • WeaponEntry
    • WeaponManager
    • WeaponRole
    • WeaponSlot
    • WireGuidedMissileProjectile
Ravenscript Documentation
  • Docs »
  • API reference »
  • Dropdown

Dropdown¶

More information can be found in the Unity API Reference and maybe in the Unity Manual.

Members¶

Member

Description

alphaFadeSpeed

animator

captionImage

captionText

gameObject

image

interactable

itemImage

itemText

transform

value

Events¶

Event

Description

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 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
Next Previous

© Copyright 2020, SteelRaven7 AB

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