「Doc:2.6/Manual/Game Engine/Logic/Properties/Editing」の版間の差分

提供: wiki
< Doc:2.6‎ | Manual‎ | Game Engine‎ | Logic‎ | Properties
移動先: 案内検索
 
(1版 をインポートしました)
 
(相違点なし)

2018年6月29日 (金) 05:50時点における最新版

Property Editing

Logic Properties are created and edited using the panel on the left of the Logic Editor Panel. The top menu provides a list of the available property types.


Property Panel
Add Property button
This button adds a new property to the list, default is a Float property named “prop”, followed by a number if there already is one with this name.
Name field
Where you give your property its name, this is how you are going to access it through python or expressions. The way to do so in python is by dictionary style lookup (GameObject["propname"]). The name is case sensitive.
Type menu
This menu determines which type of property it is (see below).
Value field
Sets the initial value of the property.
I information button
Display property value in debug information. If debugging is turned on, the value of the property is given in the top left-hand corner of the screen while the game is run. To turn debugging on, tick Show Debug Properties in the Game menu. All properties with debugging activated will then be presented with their object name, property name and value during gameplay. This is useful if you suspect something with your properties is causing problems.
X
Delete property.