-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding an ExampleObject with Inspectable properties * Creating an InspectableContext with the ExampleObject as the default selection * Viewing and manipulating the ExampleObject's properties in the PropertiesInspector
- Loading branch information
Showing
2 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package helloWorld.entities | ||
{ | ||
public class ExampleObject | ||
{ | ||
[Inspectable] | ||
public var propertyA :String = "This is property A"; | ||
[Inspectable] | ||
public var propertyB :Number = 12345; | ||
[Inspectable ( editor="ColorPicker" )] | ||
public var propertyC :uint = 0xFFFFFF; | ||
[Inspectable] | ||
public var propertyD :Boolean = false; | ||
|
||
public function ExampleObject () | ||
{ | ||
|
||
} | ||
} | ||
} |