Init() public method

public Init ( ) : void
return void
示例#1
0
    public static void EditCollectionAsset(PathAsset pathAsset)
    {
        PathEditor pathEditor;

        if (PathLibrary.Editor.Instance == null)
        {
            pathEditor = new PathEditor();
            PathLibrary.Editor.Init(pathEditor);
            pathEditor.Init();
        }

        PathLibrary.Editor.Instance.Asset = pathAsset;

        ShowBrowser();
    }
示例#2
0
	public static void EditCollectionAsset( PathAsset pathAsset )
	{
		PathEditor pathEditor;
		
		if( PathLibrary.Editor.Instance == null )
		{
			pathEditor = new PathEditor();
			PathLibrary.Editor.Init( pathEditor );
			pathEditor.Init();
		}
		
		PathLibrary.Editor.Instance.Asset = pathAsset;
		
		ShowBrowser();
	}