Scriptable Object 入門

Tutorial

·

Beginner

·

+10XP

·

65 mins

·

Unity Technologies

Scriptable Object 入門

Scriptable Objects は素晴らしいデータコンテナです。Scriptable Objects は、シーン内のゲームオブジェクトにアタッチする必要がなく、プロジェクトのアセットとして保存することができます。多くの場合、データを保存するためだけのアセットとして使用されますが、オブジェクトをシリアライズするために使用することもでき、シーンの中でインスタンス化することもできます。このセッションではシリアライズについては詳しく説明しませんが、このテーマに触れ、Scriptable Objects がどのように役立つかを説明します。Scriptable Objects とは何かを説明するだけでなく、Scriptable Objects を使った非常に簡単な例をいくつか紹介します。

Languages available:

1. Scriptable Objects 入門 - ライブトレーニング(2016年2月)

Live Training 16th February 2016 - Introduction to Scriptable Objects


MyScriptableObjectClass


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

UseMyScriptableObject


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

MakeScriptableObject


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

InventoryItem


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

InventoryItemList


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

InventoryItemEditor


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

CreateInventoryItemList


[@portabletext/react] Unknown block type "code", specify a component for it in the `components.types` prop

Complete this tutorial