Skip to main content
SM Docs
Ctrl K

See all results
Docs›Symbols›ClientScriptableObjectClass

ClientScriptableObjectClass

A client script class that doesn't represent any particular game object.

Kind: API page

Environments: Game

Game

Open the full Game reference

Can receive events sent with sm.event.sendToScriptableObject.

Fields

Name Type Description
scriptableObject ScriptableObject The ScriptableObject belonging to this class instance.
data any Data from the "data" json element.
params any Parameter sent to sm.scriptableObject.createScriptableObject.
  • Game
  • Fields
Introduction Symbols
Game Script Environment
Classes
  • CharacterClass
  • ClientScriptableObjectClass
  • GameClass
  • HarvestableClass
  • PlayerClass
  • ScriptableObjectClass
  • ShapeClass
  • ToolClass
  • UnitClass
  • WorldClass
Static Functions
  • Global
  • sm
  • sm.ai
  • sm.areaTrigger
  • sm.audio
  • sm.body
  • sm.builderGuide
  • sm.camera
  • sm.cell
  • sm.challenge
  • sm.character
  • sm.clientScriptableObject
  • sm.color
  • sm.construction
  • sm.container
  • sm.creation
  • sm.cullSphereGroup
  • sm.debris
  • sm.debugDraw
  • sm.debugGui
  • sm.effect
  • sm.event
  • sm.game
  • sm.garage
  • sm.gui
  • sm.gui.widget
  • sm.harvestable
  • sm.interactable
  • sm.item
  • sm.joint
  • sm.json
  • sm.jsonGui
  • sm.lift
  • sm.localPlayer
  • sm.log
  • sm.melee
  • sm.menuCreation
  • sm.message
  • sm.noise
  • sm.particle
  • sm.pathfinder
  • sm.pathNode
  • sm.physics
  • sm.pipeGraph
  • sm.player
  • sm.portal
  • sm.projectile
  • sm.quat
  • sm.render
  • sm.scriptableObject
  • sm.shape
  • sm.storage
  • sm.tool
  • sm.unit
  • sm.util
  • sm.uuid
  • sm.vec3
  • sm.visualization
  • sm.world
Userdata
  • AiState
  • AreaTrigger
  • BlueprintVisualization
  • Body
  • BuilderGuide
  • Character
  • ClientScriptableObject
  • Color
  • Container
  • CullSphereGroup
  • Effect
  • Garage
  • GuiInterface
  • Harvestable
  • Interactable
  • Joint
  • JsonGui
  • JsonWidget
  • Lift
  • LoadCellHandle
  • Network
  • PathNode
  • Player
  • Portal
  • Quat
  • RaycastResult
  • ScriptableObject
  • Shape
  • Storage
  • Tool
  • Unit
  • Uuid
  • Vec3
  • Widget
  • World
Terrain Script Environment
Static Functions
  • Global
  • sm
  • sm.color
  • sm.container
  • sm.debugDraw
  • sm.debugGui
  • sm.interactable
  • sm.json
  • sm.log
  • sm.noise
  • sm.quat
  • sm.scriptableObject
  • sm.terrainData
  • sm.terrainGeneration
  • sm.terrainHarvestable
  • sm.terrainTile
  • sm.tunnelGenerator
  • sm.util
  • sm.uuid
  • sm.vec3
  • sm.voxelTerrainCell
Userdata
  • Color
  • Container
  • Harvestable
  • Interactable
  • Portal
  • Quat
  • ScriptableObject
  • Uuid
  • Vec3
  • World