言語: 日本語
  • C#
  • JS
  • Boo

スクリプト言語

お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。

AssetDatabase.OpenAsset

public static function OpenAsset(target: Object, lineNumber: int = -1): bool;

Description

Opens the asset with associated application.

Opens asset in an external editor, texture application or modelling tool depending on what type of asset it is. If it is a text file, lineNumber instructs the text editor to go to that line. Returns true if asset opened successfully.

public static function OpenAsset(objects: Object[]): bool;

Description

Opens the asset(s) with associated application(s).

Opens asset in an external editor, texture application or modelling tool depending on what type of asset it is. Returns true if all assets opened successfully.