Ravenscript Documentation

Contents:

  • Installation
  • Getting started
  • Debugging
  • Tutorials
  • API reference
    • Built-in functions
    • Behaviours
    • Ravenfield Types
      • Actor
      • ActorManager
      • ActorSkin
      • AiActorController
      • Airplane
      • AnimationCurve
      • AnimationDrivenVehicle
      • Animator
      • AnimatorCullingMode
      • AnimatorUpdateMode
      • ArmorRating
      • AudioClip
      • AudioMixer
      • AudioSource
      • AvatarIKGoal
      • AvatarIKHint
      • Boat
      • Bounds
      • BoxCollider
      • BuiltInFeatures
      • Button
      • Camera
      • Campaign
      • Canvas
      • CanvasGroup
      • CapsuleCollider
      • CapturePoint
      • Car
      • Collider
      • Color
      • ColorScheme
      • ColorVariant
      • ConfigurationData
      • CurrentEvent
      • DamageInfo
      • DamageSourceType
      • DataContainer
      • Debug
      • Destructible
      • Difficulty
      • Distance
      • Dropdown
        • Members
        • Events
        • Methods
        • Static members
        • Details
      • EffectUi
      • Effectiveness
      • Engine
      • ExplodingProjectile
      • ExplosionConfiguration
      • ExplosionInfo
      • Extensions
      • FadeType
      • FollowupSpread
      • ForceMode
      • FormationType
      • GameDifficulty
      • GameEvents
      • GameInfo
      • GameManager
      • GameModeParameters
      • GameObject
      • GameParameters
      • Gradient
      • GrenadeProjectile
      • Helicopter
      • HelicopterLandingZone
      • HitInfo
      • HumanBodyBones
      • Image
      • IngameDialog
      • Input
      • InputField
      • KeyBinds
      • KeyCode
      • Ladder
      • Light
      • LineRenderer
      • LoadoutPickStrategy
      • LoadoutSet
      • LoadoutType
      • MapBiome
      • MapDecorator
      • MapEntry
      • MapMetaData
      • MapTerrain
      • Material
      • MathUtils
      • Mathf
      • Matrix4x4
      • MeanFilter
      • MeanFilterVector3
      • MeleeWeapon
      • Mesh
      • MeshRenderer
      • MeshSkin
      • Minimap
      • MonoBehaviour
      • MountedStabilizedTurret
      • MountedStabilizedTurretClamp
      • MountedWeapon
      • Mutator
      • Order
      • OrderType
      • Overlay
      • ParticleSystem
      • Pathfinding
      • PathfindingNode
      • PathfindingNodeType
      • Physics
      • Plane
      • PlayableDirector
      • Player
      • PlayerCamera
      • PlayerHud
      • PlayerOrderState
      • PortraitGenerator
      • PrimitiveType
      • Projectile
      • Quaternion
      • Random
      • RarityTier
      • RarityTierFallback
      • RawImage
      • Ray
      • RaycastHit
      • RaycastTarget
      • Rect
      • RectTransform
      • RenderSettings
      • Renderer
      • ResupplyCrate
      • Rigidbody
      • RigidbodyConstraints
      • RigidbodyProjectile
      • RocketProjectile
      • RuntimeAnimatorController
      • SaveData
      • SceneManager
      • Screen
      • ScriptEvent
      • ScriptedBehaviour
      • ScrollRect
      • Seat
      • SeatCameraType
      • SendMessageOptions
      • SgmActorDiedArgs
      • SgmLoadoutAcceptedArgs
      • SgmModifyRulesArgs
      • SgmPointCapturedArgs
      • SgmSpawnActorsArgs
      • SignalContext
      • SkillLevel
      • SkinnedMeshRenderer
      • Slider
      • SoundBank
      • Space
      • SpawnPoint
      • SpawnUi
      • SphereCollider
      • Sprite
      • Squad
      • Stance
      • TargetSeekingMissileProjectile
      • Team
      • TeamInfo
      • Text
      • TextMeshPro
      • TextMeshProUGUI
      • Texture
      • Time
      • Toggle
      • Transform
      • TriggerScriptedSignal
      • TriggerVolume
      • TurretSpawnType
      • TurretSpawner
      • UIElement
      • Vector2
      • Vector3
      • Vector4
      • Vehicle
      • VehicleInfo
      • VehicleSpawnType
      • VehicleSpawner
      • VideoClip
      • VideoPlayer
      • VideoRenderMode
      • WGameParameters
      • WaitForSeconds
      • Water
      • Weapon
      • WeaponEntry
      • WeaponManager
      • WeaponRole
      • WeaponSlot
      • WireGuidedMissileProjectile
    • Unity Types
  • Community Resources
Ravenscript Documentation
  • 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
Previous Next

© Copyright 2024, SteelRaven7 AB.

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